luci-base: use FULL_REQUEST_URI on login form templates
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
8c617c02b5
commit
053c343ef1
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<%+header%>
|
<%+header%>
|
||||||
|
|
||||||
<form method="post" action="<%=pcdata(luci.http.getenv("REQUEST_URI"))%>">
|
<form method="post" action="<%=pcdata(FULL_REQUEST_URI)%>">
|
||||||
<%- if fuser then %>
|
<%- if fuser then %>
|
||||||
<div class="errorbox"><%:Invalid username and/or password! Please try again.%></div>
|
<div class="errorbox"><%:Invalid username and/or password! Please try again.%></div>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
Loading…
Reference in a new issue