summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-12-17 19:52:50 +0000
committerSteven Barth <steven@midlink.org>2008-12-17 19:52:50 +0000
commit57cfc2ee266076472c578e34f4ff664361672487 (patch)
tree92a84e2817c58e93cc7cdf98308b7526f76d05fa /libs
parent11052b9f754c9d907abe24adb8da1ed732cbb605 (diff)
Fixed REQUEST_URI
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 33b95840a8..f69713a911 100644
--- 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