]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] net/http: don't allow zero byte in FileServer paths
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 21 Sep 2012 19:54:20 +0000 (05:54 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 21 Sep 2012 19:54:20 +0000 (05:54 +1000)
commit706832a0882c7300889238d5f4d476dc2ee83ad0
treeb229d116cb6c77d88fac0078656ae64598a8c3d5
parent5f07ee41eac484014b86cfb1085dd25273ed6268
[release-branch.go1] net/http: don't allow zero byte in FileServer paths

««« backport 2307a931664e
net/http: don't allow zero byte in FileServer paths

Should probably be fixed in the syscall package, either
additional or instead of this CL.

Fixes #3842

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6442061

»»»
src/pkg/net/http/fs.go
src/pkg/net/http/fs_test.go