* Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
[project/luci.git] / modules / admin-core / luasrc / view / admin_system / upgrade.htm
index 7e23c5400f0a7705dc517b79fd61485a0e0468fd..cc7438655ceccff3a26150539604f97c60093ffc 100644 (file)
@@ -4,7 +4,7 @@
 <p><%:a_s_flash_upgrade1%></p>
 <br />
 <% if sysupgrade and not ret then %>
-<form method="post" action="<%=uploadctrl%><%=luci.http.env.PATH_INFO%>" enctype="multipart/form-data">
+<form method="post" action="<%=luci.http.getenv("REQUEST_URI")%>" enctype="multipart/form-data">
        <div class="cbi-section-node">
                <div class="cbi-value clear">
                        <div class="cbi-value-title left"><%:a_s_flash_fwimage%></div>