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>
This commit is contained in:
parent
053c343ef1
commit
8a8eb0d487
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue