diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-12-02 17:04:19 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-12-02 17:04:19 -0600 |
commit | 802e3fd81b63c55db258c27ceab2416b707a6ade (patch) | |
tree | 44a00b0ded2a9cf713196ea5ecd21dcc34bc6e09 | |
parent | 3656336b7a731297847a1b89e2ba6a9191853cd8 (diff) | |
parent | 82c91a40e26d6d9b8cbcf3fb5f41cf624135973e (diff) | |
download | pfsense-packages-802e3fd81b63c55db258c27ceab2416b707a6ade.tar.gz pfsense-packages-802e3fd81b63c55db258c27ceab2416b707a6ade.tar.bz2 pfsense-packages-802e3fd81b63c55db258c27ceab2416b707a6ade.zip |
Merge pull request #1204 from doktornotor/patch-9
-rw-r--r-- | config/apache_mod_security-dev/apache_logs_data.php | 2 | ||||
-rw-r--r-- | config/apache_mod_security-dev/apache_logs_data.teste.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/apache_mod_security-dev/apache_logs_data.php b/config/apache_mod_security-dev/apache_logs_data.php index fdcc04b0..2410a547 100644 --- a/config/apache_mod_security-dev/apache_logs_data.php +++ b/config/apache_mod_security-dev/apache_logs_data.php @@ -91,7 +91,7 @@ if ($_GET) { if (preg_match($regex, $logline[0],$line)) { // Apply filter and color if ($filter != "") - $line = preg_replace("@($filter)@i","<spam><font color='red'>$1</font></span>",$line); + $line = preg_replace("@($filter)@i","<span><font color='red'>$1</font></span>",$line); $agent_info="onmouseover=\"jQuery('#browserinfo').empty().html('{$line[13]}');\"\n"; echo "<tr valign=\"top\" $agent_info>\n"; echo "<td class=\"listlr\" align=\"center\" nowrap>{$line[5]}({$line[6]})</td>\n"; diff --git a/config/apache_mod_security-dev/apache_logs_data.teste.php b/config/apache_mod_security-dev/apache_logs_data.teste.php index c3f270bf..619a856a 100644 --- a/config/apache_mod_security-dev/apache_logs_data.teste.php +++ b/config/apache_mod_security-dev/apache_logs_data.teste.php @@ -64,7 +64,7 @@ if ($_GET) { // Apply filter and color // Need validate special chars if ($filter != "") - $logline = preg_replace("@($filter)@i","<spam><font color='red'>$1</font></span>",$logline); + $logline = preg_replace("@($filter)@i","<span><font color='red'>$1</font></span>",$logline); echo $logline[0]."\n<br/>"; } |