mirror of
https://github.com/kataras/iris.git
synced 2025-12-30 16:27:04 +00:00
Former-commit-id: 30043802c9eadcb4b378e773ca79f8e33bd5d573
This commit is contained in:
@@ -1439,7 +1439,7 @@ func DecodeURL(uri string) string {
|
||||
// based on the 'escape'.
|
||||
func (ctx *context) RequestPath(escape bool) string {
|
||||
if escape {
|
||||
return DecodeQuery(ctx.request.URL.EscapedPath())
|
||||
return ctx.request.URL.EscapedPath() // DecodeQuery(ctx.request.URL.EscapedPath())
|
||||
}
|
||||
return ctx.request.URL.Path // RawPath returns empty, requesturi can be used instead also.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user