AJAX installation is 'basicly finished' :) Plus I threw in a small christmas present...
[mailer.git] / inc / libs / security_functions.php
index e73036ca9bd4f7f778532ca63345cf31dce22297..10002eea7120000cc4ee52f429653b2919b17459 100644 (file)
@@ -181,7 +181,7 @@ if (!isset($_POST)) {
 // Generate arrays which holds the relevante chars to replace
 $GLOBALS['security_chars'] = array(
        // The chars we are looking for...
-       'from' => array('/', '.', chr(39), '$', '(', ')', '{--', '--}', '{?', '?}', '%', ';', '[', ']', ':', '--', chr(92), chr(39)),
+       'from' => array('/', '.', chr(39), '$', '(', ')', '{--', '--}', '{?', '?}', '%', ';', '[', ']', ':', '--', chr(92), chr(39), '<', '>'),
        // ... and we will replace to.
        'to'   => array(
                '{SLASH}',
@@ -201,7 +201,9 @@ $GLOBALS['security_chars'] = array(
                '{DBL_DOT}',
                '{COMMENT}',
                '{BACKSLASH}',
-               '{SQUOTE}'
+               '{SQUOTE}',
+               '{OPEN_TAG}',
+               '{CLOSE_TAG}'
        ),
 );