summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-10 09:49:21 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-10 09:49:47 -0500
commitdaab67a170ddf38a76605e32a56874780e82b62d (patch)
tree66ad88a3ea2c9cf82f0bf1a5dfc2c4eec3ebfa54 /usr/local/www/diag_logs.php
parentf0ce6758e81a036a6eee144549cbe9e4c72bbe8e (diff)
downloadpfsense-daab67a170ddf38a76605e32a56874780e82b62d.zip
pfsense-daab67a170ddf38a76605e32a56874780e82b62d.tar.gz
Fix misc XSS issues from davey b
Diffstat (limited to 'usr/local/www/diag_logs.php')
-rwxr-xr-xusr/local/www/diag_logs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_logs.php b/usr/local/www/diag_logs.php
index 145d480..35b6231 100755
--- a/usr/local/www/diag_logs.php
+++ b/usr/local/www/diag_logs.php
@@ -54,10 +54,10 @@ if ($_POST['clear'])
clear_log_file($system_logfile);
if ($_GET['filtertext'])
- $filtertext = $_GET['filtertext'];
+ $filtertext = htmlspecialchars($_GET['filtertext']);
if ($_POST['filtertext'])
- $filtertext = $_POST['filtertext'];
+ $filtertext = htmlspecialchars($_POST['filtertext']);
if ($filtertext)
$filtertextmeta="?filtertext=$filtertext";
OpenPOWER on IntegriCloud