summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/dispatcher.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-01 18:49:41 +0000
committerSteven Barth <steven@midlink.org>2008-11-01 18:49:41 +0000
commitd600a2f2094b3276f3f84886a43789810dc57366 (patch)
treebec1afec2ef90c64982d7202b3aff33fa426825b /libs/web/luasrc/dispatcher.lua
parentc7a06b61c778a9e24b67a1a89992c1dd77886a21 (diff)
Publish request args
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r--libs/web/luasrc/dispatcher.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 22d9dd9bc3..176a3b272b 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -134,7 +134,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