diff options
author | jim-p <jimp@pfsense.org> | 2015-06-16 11:30:16 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-16 11:30:16 -0400 |
commit | f4bbd64dec0ba1b9bcf3b36d640f839dfebec348 (patch) | |
tree | 5fb6d047b3ef3a6f025f2b76aacde224fea5e5b0 /usr/local/www | |
parent | 9162143f1258f82c3b731370a8166a3ccaba6509 (diff) | |
download | pfsense-f4bbd64dec0ba1b9bcf3b36d640f839dfebec348.zip pfsense-f4bbd64dec0ba1b9bcf3b36d640f839dfebec348.tar.gz |
Encoding in diag_packet_capture.php
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/diag_packet_capture.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php index 73fb7c4..36c4807 100644 --- a/usr/local/www/diag_packet_capture.php +++ b/usr/local/www/diag_packet_capture.php @@ -307,7 +307,7 @@ include("fbegin.inc"); <tr> <td width="17%" valign="top" class="vncellreq"><?=gettext("Port");?></td> <td colspan="2" width="83%" class="vtable"> - <input name="port" class="formfld unknown" id="port" size="5" value="<?=$port;?>" /> + <input name="port" class="formfld unknown" id="port" size="5" value="<?=htmlspecialchars($port);?>" /> <br /><?=gettext("The port can be either the source or destination port. The packet capture will look for this port in either field.");?> <br /><?=gettext("Leave blank if you do not want to filter by port.");?> </td> @@ -315,14 +315,14 @@ include("fbegin.inc"); <tr> <td width="17%" valign="top" class="vncellreq"><?=gettext("Packet Length");?></td> <td colspan="2" width="83%" class="vtable"> - <input name="snaplen" class="formfld unknown" id="snaplen" size="5" value="<?=$snaplen;?>" /> + <input name="snaplen" class="formfld unknown" id="snaplen" size="5" value="<?=htmlspecialchars($snaplen);?>" /> <br /><?=gettext("The Packet length is the number of bytes of each packet that will be captured. Default value is 0, which will capture the entire frame regardless of its size.");?> </td> </tr> <tr> <td width="17%" valign="top" class="vncellreq"><?=gettext("Count");?></td> <td colspan="2" width="83%" class="vtable"> - <input name="count" class="formfld unknown" id="count" size="5" value="<?=$count;?>" /> + <input name="count" class="formfld unknown" id="count" size="5" value="<?=htmlspecialchars($count);?>" /> <br /><?=gettext("This is the number of packets the packet capture will grab. Default value is 100.") . "<br />" . gettext("Enter 0 (zero) for no count limit.");?> </td> </tr> |