1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 09:40:40 +00:00
This commit is contained in:
Ming Deng
2020-09-11 23:48:21 +08:00
parent 6bbca96c6c
commit b575fa1ebe
3 changed files with 30 additions and 13 deletions

View File

@ -89,7 +89,7 @@ func (input *BeegoInput) URI() string {
// URL returns the request url path (without query, string and fragment).
func (input *BeegoInput) URL() string {
return input.Context.Request.URL.EscapedPath()
return input.Context.Request.URL.Path
}
// Site returns the base site url as scheme://domain type.