]> Cypherpunks repositories - gostls13.git/commit
net/http: redirect if the URL path is a dir & doesn't end in a slash
authorMohit Agarwal <mohit@sdf.org>
Thu, 3 Mar 2016 18:23:39 +0000 (23:53 +0530)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 24 Mar 2016 02:30:19 +0000 (02:30 +0000)
commitddcf8d402a0f8b7556dad49005ff578244baa11c
tree839a639b378ccc8991f6317b04b674fddf173fca
parentedca4cda8858c6af5a9236d81b8654cb294054c8
net/http: redirect if the URL path is a dir & doesn't end in a slash

Fixes #13996

Change-Id: I9b2c7fba0705900aca9a70bc6a2687667a9a976c
Reviewed-on: https://go-review.googlesource.com/20128
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/fs.go
src/net/http/fs_test.go