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
1 changed file
with
1 additions
and
1 deletions
-
Please register or sign in to post a comment