]> Cypherpunks repositories - gostls13.git/commit
cmd/godoc: canonicalize custom path redirects
authorAndrew Gerrand <adg@golang.org>
Tue, 27 Mar 2012 01:44:17 +0000 (12:44 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 27 Mar 2012 01:44:17 +0000 (12:44 +1100)
commit849ad2d0cac9b3ee97b3d331ca6e556a6073d94d
tree95e29bf36e42d5f123596830bceb1c3b6924336b
parent98155bd6a9547f8aa38cb4f71c4cbce7d1c9884a
cmd/godoc: canonicalize custom path redirects

For example, /ref and /doc/reference.html now both redirect to /ref/.

Fixes #3401.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5916044
src/cmd/godoc/godoc.go