diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-04-04 23:32:23 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-04-04 23:32:23 +0200 |
commit | 8a8eb0d487da5a36bc3d123f36cb6c68e899185a (patch) | |
tree | 452dcf25ab125b52a856b8c078df631f158c092f /applications/luci-app-commands/luasrc/view | |
parent | 053c343ef18e209174e7161f4acf39bb02d25ff8 (diff) |
luci-app-commands: 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-commands/luasrc/view')
-rw-r--r-- | applications/luci-app-commands/luasrc/view/commands.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-commands/luasrc/view/commands.htm b/applications/luci-app-commands/luasrc/view/commands.htm index f094e186d..3b361558e 100644 --- a/applications/luci-app-commands/luasrc/view/commands.htm +++ b/applications/luci-app-commands/luasrc/view/commands.htm @@ -136,7 +136,7 @@ uci:foreach("luci", "command", function(s) commands[#commands+1] = s end) %> -<form method="get" action="<%=pcdata(luci.http.getenv("REQUEST_URI"))%>"> +<form method="get" action="<%=pcdata(FULL_REQUEST_URI)%>"> <div class="cbi-map"> <h2 name="content"><%:Custom Commands%></h2> |