d8614e80 by astaxie

beego: update the Url to Path

1 parent c83a2a09
...@@ -60,7 +60,7 @@ func (input *BeegoInput) Uri() string { ...@@ -60,7 +60,7 @@ func (input *BeegoInput) Uri() string {
60 60
61 // Url returns request url path (without query string, fragment). 61 // Url returns request url path (without query string, fragment).
62 func (input *BeegoInput) Url() string { 62 func (input *BeegoInput) Url() string {
63 return input.Request.URL.String() 63 return input.Request.URL.Path
64 } 64 }
65 65
66 // Site returns base site url as scheme://domain type. 66 // Site returns base site url as scheme://domain type.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!