From d8614e80e776e005403de882b3662d58747fb21d Mon Sep 17 00:00:00 2001 From: astaxie Date: Sat, 30 Aug 2014 22:22:23 +0800 Subject: [PATCH] beego: update the Url to Path --- context/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context/input.go b/context/input.go index c6038693..6c662820 100644 --- a/context/input.go +++ b/context/input.go @@ -60,7 +60,7 @@ func (input *BeegoInput) Uri() string { // Url returns request url path (without query string, fragment). func (input *BeegoInput) Url() string { - return input.Request.URL.String() + return input.Request.URL.Path } // Site returns base site url as scheme://domain type.