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:
36ea3e5
)
Publish request args
author
Steven Barth
<steven@midlink.org>
Sat, 1 Nov 2008 18:49:54 +0000
(18:49 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 1 Nov 2008 18:49:54 +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 645ea972e622faefd09e478ceaff6dc4e3ab4392..5afb079785228084bc40fc3a1ddd86a9647b9e03 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-133,7
+133,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