summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-07 00:21:26 +0000
committerBill Marquette <billm@pfsense.org>2005-03-07 00:21:26 +0000
commit801d649b0a921a9a5e6a0179f58c90615a73498c (patch)
tree78d23398176f7232d0fe43f08a55c426eaec9271 /usr
parent8e8588e19b9d9f2733ade8a2a097262a330eb83a (diff)
downloadpfsense-801d649b0a921a9a5e6a0179f58c90615a73498c.zip
pfsense-801d649b0a921a9a5e6a0179f58c90615a73498c.tar.gz
Don't let the user enter more than 15 characters if we only expect 15 characters (even if this is enforced in the backend)
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index 74603be..702bda3 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -206,7 +206,7 @@ if ($_POST) {
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><b>Name</b></td>
- <td width="78%" class="vtable"> <input name="name" type="text" class="formfld" id="name" size="40" value="<?=htmlspecialchars($pconfig['name']);?>">
+ <td width="78%" class="vtable"> <input name="name" type="text" class="formfld" id="name" size="15" value="<?=htmlspecialchars($pconfig['name']);?>">
<br> <span class="vexpl">Enter the name of the queue here. Do not use spaces and limit the size to 15 characters.
</span></td>
</tr>
OpenPOWER on IntegriCloud