1
0
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:
Gerasimos (Makis) Maropoulos
2019-06-06 23:05:17 +03:00
parent e19a519c6e
commit e10fada695
4 changed files with 9 additions and 9 deletions

View File

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