pajoye                                   Fri, 09 Oct 2009 17:50:17 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=289438

Log:
- Merge: Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters)

Bug: http://bugs.php.net/49470 (Closed) FILTER_SANITIZE_EMAIL does not work
      
Changed paths:
    U   php/php-src/branches/PHP_5_3_1/ext/filter/sanitizing_filters.c

Modified: php/php-src/branches/PHP_5_3_1/ext/filter/sanitizing_filters.c
===================================================================
--- php/php-src/branches/PHP_5_3_1/ext/filter/sanitizing_filters.c      
2009-10-09 17:45:03 UTC (rev 289437)
+++ php/php-src/branches/PHP_5_3_1/ext/filter/sanitizing_filters.c      
2009-10-09 17:50:17 UTC (rev 289438)
@@ -275,7 +275,7 @@
 void php_filter_email(PHP_INPUT_FILTER_PARAM_DECL)
 {
        /* Check section 6 of rfc 822 http://www.faqs.org/rfcs/rfc822.html */
-       const unsigned char allowed_list[] = LOWALPHA HIALPHA DIGIT 
"!#$%&'*+-/=?^_`{|}...@.[]";
+       const unsigned char allowed_list[] = LOWALPHA HIALPHA DIGIT 
"!#$%&'*+-=?^_`{|}...@.[]";
        filter_map     map;

        filter_map_init(&map);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to