redirection of invalid or deleted mail orders improved, several code conventions...
[mailer.git] / inc / libs / security_functions.php
index b46309ee9291bb8fe15e22141dcabedbb8131b39..190a369e5abebcde7f3e28004fbfb23aba3a7d41 100644 (file)
@@ -89,14 +89,14 @@ if (!isset($_COOKIE))
 global $SEC_CHARS, $URL_CHARS;
 $SEC_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}",
+               '{QUOT}',
                "{DOLLAR}",
                "{OPEN_ANCHOR}",
                "{CLOSE_ANCHOR}",