1
0
mirror of https://github.com/golang/go synced 2024-10-04 22:21:22 -06:00
go/src/lib/http
Russ Cox 16b38b554f add path.Clean and other utilities.
use path.Clean in web server to sanitize URLs.

http://triv/go/../../../etc/passwd

no longer serves the password file.
it redirects to

http://triv/etc/passwd

which then gets a 404.

R=r
DELTA=288  (286 added, 0 deleted, 2 changed)
OCL=27142
CL=27152
2009-04-07 00:40:07 -07:00
..
Makefile fix build. missed this file 2009-02-03 15:58:13 -08:00
request.go document http 2009-03-11 12:45:53 -07:00
server.go add path.Clean and other utilities. 2009-04-07 00:40:07 -07:00
status.go document http 2009-03-11 12:45:53 -07:00
triv.go Rename os.FD to os.File. 2009-03-11 12:51:10 -07:00
url.go change in negation 2009-04-02 23:26:55 -07:00