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