Fix RequestURI nil caused template parse failed
Sometime RequestURI is not set, e.g. running after a front proxy server. We should always follow the document's directive, to use Request.URL instead of RequestURI. Refer: http://golang.org/pkg/net/http/#Request
Showing
Please
register
or
sign in
to comment