1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2016-06-29 12:14:28 -07:00
parent d119b3bbfa
commit c00d017178
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ type (
// Path implements `engine.URL#Path` function.
func (u *URL) Path() string {
return string(u.URI.Path())
return string(u.URI.PathOriginal())
}
// SetPath implements `engine.URL#SetPath` function.

View File

@ -12,7 +12,7 @@ type (
// Path implements `engine.URL#Path` function.
func (u *URL) Path() string {
return u.URL.Path
return u.URL.EscapedPath()
}
// SetPath implements `engine.URL#SetPath` function.