1
0
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:
Gerasimos (Makis) Maropoulos
2019-06-06 23:06:41 +03:00
parent cd3dced02a
commit af751c7602
2 changed files with 3 additions and 3 deletions

View File

@@ -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.
}