From: Ian Lance Taylor Date: Tue, 18 Jul 2017 20:29:47 +0000 (-0700) Subject: net/http: fix parameter name in comment X-Git-Tag: go1.9rc1~23 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=83fb9c8d9f5511f5aca2a0eb9f7507e2527a76a9;p=gostls13.git net/http: fix parameter name in comment Fixes #21077 Change-Id: Ic61d7313907f58ff4027fd2eee1ddb8c1656304d Reviewed-on: https://go-review.googlesource.com/49712 Reviewed-by: Dmitri Shuralyov --- diff --git a/src/net/http/server.go b/src/net/http/server.go index 736c9b83a4..e18a245943 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -1958,7 +1958,7 @@ func StripPrefix(prefix string, h Handler) Handler { }) } -// Redirect replies to the request with a redirect to url, +// Redirect replies to the request with a redirect to urlStr, // which may be a path relative to the request path. // // The provided code should be in the 3xx range and is usually