diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2009-09-07 02:35:25 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2009-09-07 02:35:25 +0000 |
| commit | 6d0b9484d94c0e6ca61feb35a271e1c49ccab3c3 (patch) | |
| tree | bb1825b059d40447afd17317d0bcb57185326ca6 /ext/filter | |
| parent | 3e359ee5b486694bcae39b9283b6245e707527c3 (diff) | |
| download | php-git-6d0b9484d94c0e6ca61feb35a271e1c49ccab3c3.tar.gz | |
Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).
Diffstat (limited to 'ext/filter')
| -rw-r--r-- | ext/filter/sanitizing_filters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/filter/sanitizing_filters.c b/ext/filter/sanitizing_filters.c index 24eafd13da..cdfe08c29b 100644 --- a/ext/filter/sanitizing_filters.c +++ b/ext/filter/sanitizing_filters.c @@ -275,7 +275,7 @@ void php_filter_unsafe_raw(PHP_INPUT_FILTER_PARAM_DECL) 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); |
