projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
11052b9
)
Fixed REQUEST_URI
author
Steven Barth
<steven@midlink.org>
Wed, 17 Dec 2008 19:52:50 +0000
(19:52 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 17 Dec 2008 19:52:50 +0000
(19:52 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index
33b9584
..
f69713a
100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-203,7
+203,7
@@
function dispatch(request)
if key == "controller" then
return build_url()
elseif key == "REQUEST_URI" then
if key == "controller" then
return build_url()
elseif key == "REQUEST_URI" then
- return build_url(
ctx.requested
)
+ return build_url(
unpack(ctx.requested.path)
)
else
return rawget(table, key) or _G[key]
end
else
return rawget(table, key) or _G[key]
end