summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-freifunk-diagnostics
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-04-04 23:32:44 +0200
committerJo-Philipp Wich <jo@mein.io>2018-04-04 23:32:44 +0200
commit697db81246bf9e3256c7217a00ee4e7757c87077 (patch)
tree44ed8f7206c04cd56415ced264c8be30c706ccc6 /applications/luci-app-freifunk-diagnostics
parent8a8eb0d487da5a36bc3d123f36cb6c68e899185a (diff)
luci-app-freifunk-diagnostics: use FULL_REQUEST_URI
Switch from using the REQUEST_URI CGI variable directly to the canonicalized FULL_REQUEST_URI property. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-freifunk-diagnostics')
-rw-r--r--applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm b/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm
index fe205d053b..eac1ecdcf5 100644
--- a/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm
+++ b/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm
@@ -53,7 +53,7 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6")
}
//]]></script>
-<form method="post" action="<%=pcdata(luci.http.getenv("REQUEST_URI"))%>">
+<form method="post" action="<%=pcdata(FULL_REQUEST_URI)%>">
<div class="cbi-map">
<h2 name="content"><%:Diagnostics%></h2>