From d600a2f2094b3276f3f84886a43789810dc57366 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 1 Nov 2008 18:49:41 +0000 Subject: [PATCH] Publish request args --- libs/web/luasrc/dispatcher.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 22d9dd9bc..176a3b272 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 -- 2.25.1