net/http: fix inserting of implicit redirects in serve mux
In serve mux, if pattern contains a host name, pass only the path to the redirect handler. Add tests for serve mux redirections. R=rsc CC=bradfitz, gobot, golang-dev https://golang.org/cl/6329045
Showing
Please
register
or
sign in
to comment