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:
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 33b95840a8632f36718c8e49df720475486ebe9f..f69713a911ba0681236ecfa39295f64baf750623 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
- return build_url(
ctx.requested
)
+ return build_url(
unpack(ctx.requested.path)
)
else
return rawget(table, key) or _G[key]
end