| commit | 16b38b554fb4dae82923cb81a5c6a76ee2959d2f | [log] [tgz] |
|---|---|---|
| author | Russ Cox <rsc@golang.org> | Tue Apr 07 00:40:07 2009 -0700 |
| committer | Russ Cox <rsc@golang.org> | Tue Apr 07 00:40:07 2009 -0700 |
| tree | d99b97d1215df17d8a4f968eb03664bc6512dee7 | |
| parent | 640f3f25dcd238bfc6b4fd99b1808071cfa12888 [diff] |
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