]> Cypherpunks repositories - gostls13.git/commit
net/http: don't allow zero byte in FileServer paths
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 30 Jul 2012 03:57:30 +0000 (13:57 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 30 Jul 2012 03:57:30 +0000 (13:57 +1000)
commit538b2122f1d535e5a4ad11a69fddb1da3c10f9de
tree4936dbd4d672e3c4a95d7198110103ae70cbddf3
parent482ceeda6df719004f15068c93d4ed17a83f3869
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