Publish request args
authorSteven Barth <steven@midlink.org>
Sat, 1 Nov 2008 18:49:41 +0000 (18:49 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 1 Nov 2008 18:49:41 +0000 (18:49 +0000)
libs/web/luasrc/dispatcher.lua

index 22d9dd9bc323f9f2df1eecfc6a97b7274e3f7b0b..176a3b272b81f2775888837557950aa40efe6734 100644 (file)
@@ -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