mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 12:27:02 +00:00
updates for neffos and re-push the fix of the request path with uri unescaped codes
Former-commit-id: fda1edb3e8dfc538da541070366f5f8f997bf367
This commit is contained in:
@@ -1473,7 +1473,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