From: Robert Griesemer Date: Tue, 23 Feb 2016 03:41:17 +0000 (-0800) Subject: net/http: fix typo in doc string X-Git-Tag: go1.7beta1~1774 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0784e6918e931e8bc6e28252ae11a65664ecbaaa;p=gostls13.git net/http: fix typo in doc string Fixes #14475. Change-Id: I1b5b0a9793a417572ec55f313185d03ad5ae9d01 Reviewed-on: https://go-review.googlesource.com/19846 Reviewed-by: Robert Griesemer --- diff --git a/src/net/http/fs.go b/src/net/http/fs.go index 8a5b8bba37..520a5477a7 100644 --- a/src/net/http/fs.go +++ b/src/net/http/fs.go @@ -451,7 +451,7 @@ func localRedirect(w ResponseWriter, r *Request, newPath string) { // ServeFile replies to the request with the contents of the named // file or directory. // -// If the provided file or direcory name is a relative path, it is +// If the provided file or directory name is a relative path, it is // interpreted relative to the current directory and may ascend to parent // directories. If the provided name is constructed from user input, it // should be sanitized before calling ServeFile. As a precaution, ServeFile