forked from I2P_Developers/i2p.i2p
param length check
This commit is contained in:
@@ -82,7 +82,7 @@ input.default { width: 1px; height: 1px; visibility: hidden; }
|
||||
<b><%=intl._t("Select xpi2p or su3 file")%>:</b>
|
||||
<%
|
||||
String file = request.getParameter("pluginFile");
|
||||
if (file != null) {
|
||||
if (file != null && file.length() > 0) {
|
||||
%>
|
||||
<input type="text" size="60" name="pluginFile" value="<%=file%>">
|
||||
<%
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
<b><%=intl._t("Select zip or su3 file")%>:</b>
|
||||
<%
|
||||
String file = request.getParameter("file");
|
||||
if (file != null) {
|
||||
if (file != null && file.length() > 0) {
|
||||
%>
|
||||
<input type="text" size="60" name="file" value="<%=file%>">
|
||||
<%
|
||||
|
||||
Reference in New Issue
Block a user