We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d119b3b commit c00d017Copy full SHA for c00d017
engine/fasthttp/url.go
@@ -13,7 +13,7 @@ type (
13
14
// Path implements `engine.URL#Path` function.
15
func (u *URL) Path() string {
16
- return string(u.URI.Path())
+ return string(u.URI.PathOriginal())
17
}
18
19
// SetPath implements `engine.URL#SetPath` function.
engine/standard/url.go
@@ -12,7 +12,7 @@ type (
12
- return u.URL.Path
+ return u.URL.EscapedPath()
0 commit comments