]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/security_functions.php
Possible fix for bad escaping of single-quotes
[mailer.git] / inc / libs / security_functions.php
index c57d1e4c6eb35a638e4fdc997c61ad449847e051..7fc8a5ec11b4b2a9765d8a0abec56124d7ff3a3a 100644 (file)
@@ -151,17 +151,12 @@ if (!isset($_POST)) {
        $_POST = $GLOBALS['_POST'];
 } // END - if
 
-// Include IP-Filter here
-//include("/usr/share/php/ipfilter.php");
-
 // Generate arrays which holds the relevante chars to replace
 $GLOBALS['security_chars'] = array(
        // The chars we are looking for...
-       'from' => array('{', '}', '/', '.', "'", '$', '(', ')', '{--', '--}', '{?', '?}', '%', ';', '[', ']', ':', '--'),
+       'from' => array('/', '.', "'", '$', '(', ')', '{--', '--}', '{?', '?}', '%', ';', '[', ']', ':', '--'),
        // ... and we will replace to.
        'to'   => array(
-               '{OPEN_ANCHOR2}',
-               '{CLOSE_ANCHOR2}',
                '{SLASH}',
                '{DOT}',
                '{QUOT}',