mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 09:40:40 +00:00
fix 4219
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user