-
Kunpei Sakai authored
Ensure that the implicitly created redirect for "/route" after "/route/" has been registered doesn't lose the query string information. A previous attempt (https://golang.org/cl/43779) changed http.Redirect, however, that change broke direct calls to http.Redirect. To avoid that problem, this change touches ServeMux.Handler only. Fixes #17841 Change-Id: I303c1b1824615304ae68147e254bb41b0ea339be Reviewed-on: https://go-review.googlesource.com/61210 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tom Bergan <tombergan@google.com> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
ab401077
Name |
Last commit
|
Last update |
---|---|---|
.github | ||
api | ||
doc | ||
lib/time | ||
misc | ||
src | ||
test | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README.md | ||
favicon.ico | ||
robots.txt |