astaxie/beego — pull request #977 by athurg (2014-12-25 03:24:16+00:00)
Title: 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