Révision eab05c00
Ajouté par Renato Botelho il y a plus de 9 ans
usr/local/www/firewall_aliases_edit.php | ||
---|---|---|
643 | 643 |
<td valign="top" class="vncellreq"><?=gettext("Name"); ?></td> |
644 | 644 |
<td class="vtable"> |
645 | 645 |
<input name="origname" type="hidden" id="origname" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['name']);?>" /> |
646 |
<input name="name" type="text" id="name" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['name']);?>" /> |
|
646 |
<input name="name" type="text" id="name" class="formfld unknown" size="40" maxlength="31" value="<?=htmlspecialchars($pconfig['name']);?>" />
|
|
647 | 647 |
<?php if (isset($id) && $a_aliases[$id]): ?> |
648 | 648 |
<input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" /> |
649 | 649 |
<?php endif; ?> |
Formats disponibles : Unified diff
Alias name cannot have more than 31 chars, add maxlength here just as an extra check. Ticket #3827