projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-base: error404: do not access request env directly
[project/luci.git]
/
modules
/
luci-base
/
luasrc
/
view
/
error404.htm
diff --git
a/modules/luci-base/luasrc/view/error404.htm
b/modules/luci-base/luasrc/view/error404.htm
index
bc74226
..
a762f60
100644
(file)
--- a/
modules/luci-base/luasrc/view/error404.htm
+++ b/
modules/luci-base/luasrc/view/error404.htm
@@
-7,5
+7,5
@@
<%+header%>
<h2 name="content">404 <%:Not Found%></h2>
<p><%:Sorry, the object you requested was not found.%></p>
<%+header%>
<h2 name="content">404 <%:Not Found%></h2>
<p><%:Sorry, the object you requested was not found.%></p>
-<tt><%:Unable to dispatch%>: <%=
luci.http.request.env.PATH_INFO
%></tt>
+<tt><%:Unable to dispatch%>: <%=
url(unpack(luci.dispatcher.context.request))
%></tt>
<%+footer%>
<%+footer%>