summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2008-02-03 06:00:59 +0000
committerChris Buechler <cmb@pfsense.org>2008-02-03 06:00:59 +0000
commit62d3ad831c71d4748f9c8731ebf32d8af4705451 (patch)
treeee25fcde4136a4cebdb506216137c1847bb1b2e2
parenta8e5fc7ffbb056bfb2d8ab06a35040559a152069 (diff)
downloadpfsense-62d3ad831c71d4748f9c8731ebf32d8af4705451.zip
pfsense-62d3ad831c71d4748f9c8731ebf32d8af4705451.tar.gz
Prevent users from entering queue names that break the ruleset
sort of related to Ticket #1612
-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 c47eef4..d4b17e2 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -329,7 +329,7 @@ function enable_attachtoqueue(enable_over) {
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Name</td>
- <td width="78%" class="vtable"> <input name="name" type="text" class="formfld" id="name" size="15" value="<?=htmlspecialchars($pconfig['name']);?>">
+ <td width="78%" class="vtable"> <input name="name" type="text" class="formfld" id="name" size="15" maxlength="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