diff options
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index c0d8b98c28..24ce246dfc 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -105,7 +105,7 @@ end function httpdispatch(request) luci.http.context.request = request context.request = {} - local pathinfo = request:getenv("PATH_INFO") or "" + local pathinfo = http.urldecode(request:getenv("PATH_INFO") or "", true) for node in pathinfo:gmatch("[^/]+") do table.insert(context.request, node) |