summaryrefslogtreecommitdiff
path: root/src/lib/syscall/file_linux.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-04-07 00:40:07 -0700
committerRuss Cox <rsc@golang.org>2009-04-07 00:40:07 -0700
commit97d4a4b92004136da40eab5d99bad180ae2fdb50 (patch)
treed99b97d1215df17d8a4f968eb03664bc6512dee7 /src/lib/syscall/file_linux.go
parent535a35c95c03d80dff4fbc560627ba40c37765f3 (diff)
downloadgolang-97d4a4b92004136da40eab5d99bad180ae2fdb50.tar.gz
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
Diffstat (limited to 'src/lib/syscall/file_linux.go')
0 files changed, 0 insertions, 0 deletions