projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a06b6
)
Publish request args
author
Steven Barth
<steven@midlink.org>
Sat, 1 Nov 2008 18:49:41 +0000
(18:49 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 1 Nov 2008 18:49:41 +0000
(18:49 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 22d9dd9bc323f9f2df1eecfc6a97b7274e3f7b0b..176a3b272b81f2775888837557950aa40efe6734 100644
(file)
--- 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