From: Steven Barth Date: Sat, 1 Nov 2008 18:49:54 +0000 (+0000) Subject: Publish request args X-Git-Tag: 0.8.2~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2f78d8c81cef7a37df39d6bfaffdc99f58ef2e20;p=oweals%2Fluci.git Publish request args --- diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 645ea972e..5afb07978 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -133,7 +133,8 @@ function dispatch(request) local track = {} local args = {} - context.args = args + ctx.args = args + ctx.requestargs = ctx.requestargs or args local n for i, s in ipairs(request) do