diff options
author | jim-p <jimp@pfsense.org> | 2013-01-21 09:33:25 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-01-21 09:34:13 -0500 |
commit | 25dc1bb059677bfe38fc6f3233a5dfaf686ab5d1 (patch) | |
tree | 482b42db50d7d4766e8a445fc5436d0f3e365bb1 | |
parent | 633c02c1ac86dcd10e52e87e68e5ca757990b6e8 (diff) | |
download | pfsense-25dc1bb059677bfe38fc6f3233a5dfaf686ab5d1.zip pfsense-25dc1bb059677bfe38fc6f3233a5dfaf686ab5d1.tar.gz |
Run IPsec logs through htmlspecialchars before display.
-rwxr-xr-x | usr/local/www/diag_logs_ipsec.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php index 9b10719..749cac1 100755 --- a/usr/local/www/diag_logs_ipsec.php +++ b/usr/local/www/diag_logs_ipsec.php @@ -125,6 +125,7 @@ include("head.inc"); </tr> <?php foreach($ipsec_logarr as $logent){ + $logent = htmlspecialchars($logent); foreach($search as $string) { if(preg_match($string, $logent)) $match = true; |