Changeset 1a33532


Ignore:
Timestamp:
May 23, 2016 11:29:10 AM (4 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
31b480a
Parents:
96fc02de
Message:

Limit file inputs to accepted extensions

Location:
apps/routerconsole/jsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/configclients.jsp

    r96fc02de r1a33532  
    168168<input type="hidden" name="nonce" value="<%=pageNonce%>" >
    169169<%=intl._t("Select xpi2p or su3 file")%>:&nbsp;
    170 <input type="file" name="pluginFile" >
     170<input type="file" name="pluginFile" accept=".xpi2p,.su3" >
    171171</td>
    172172<td class="optionsave" align="right">
  • apps/routerconsole/jsp/configreseed.jsp

    r96fc02de r1a33532  
    5555  <td>
    5656<%=intl._t("Select zip or su3 file")%>:
    57 <input name="file" type="file" value="" />
     57<input name="file" type="file" accept=".zip,.su3" value="" />
    5858  </td>
    5959  <td class="optionsave">
Note: See TracChangeset for help on using the changeset viewer.