diff options
author | jim-p <jimp@pfsense.org> | 2015-06-16 11:31:07 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-16 11:31:07 -0400 |
commit | 05dea4b71f0ee7c7ec2484daefa54aa24cef4bb8 (patch) | |
tree | bae5cbf33f80f2bbe99e3bd6d53de90e81d29120 /usr/local/www | |
parent | f68e2f9f0fe76a0b23a43dd9106fcdadb1783b63 (diff) | |
download | pfsense-05dea4b71f0ee7c7ec2484daefa54aa24cef4bb8.zip pfsense-05dea4b71f0ee7c7ec2484daefa54aa24cef4bb8.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 68e12d4..14be5d1 100644 --- a/usr/local/www/diag_packet_capture.php +++ b/usr/local/www/diag_packet_capture.php @@ -309,7 +309,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> @@ -317,14 +317,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> |