Fixed REQUEST_URI
This commit is contained in:
parent
11052b9f75
commit
57cfc2ee26
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue