From d600a2f2094b3276f3f84886a43789810dc57366 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 1 Nov 2008 18:49:41 +0000 Subject: Publish request args --- libs/web/luasrc/dispatcher.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/web/luasrc') 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 -- cgit v1.2.3