Date: 12/29/00
- Next message: fang-pin.chang <email protected>: "[PHP-DEV] PHP 4.0 Bug #8478: gdcache.h -- malloc.h"
- Previous message: jhostetler <email protected>: "[PHP-DEV] PHP 4.0 Bug #8480: TSRM.dsp has LF only; needs CRLF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: rxdev <email protected>
Operating system: Linux 2.2.18/Debian
PHP version: 4.0.4
PHP Bug Type: IMAP related
Bug description: imap_rfc822_parse_adrlist is too STRICT
Imap_rfc822_parse_adrlist is too strict: if a double ,, is present in addresslist, then the parsing fails and stops (and gives various SYNTAX-ERROR/INVALID HOST)
This is really annoying as many users type double ,, or even , , (a comma, a space, a comma) causing most of recipients to be dropped if Imap_rfc822_parse_adrlist is used.
Example:
imap_rfc822_parse_adrlist("smith,jeff,paul","foobar.com")
WORKS
-BUT-
imap_rfc822_parse_adrlist("smith,,jeff,paul","foobar.com")
DOES NOT WORK: only "smith" is extracted, BUT jeff and paul aren't
Workaround: while exploding recipient list, just IGNORE empty recipient as if they didn't exist (and of course continue parsing)
-- Edit Bug report at: http://bugs.php.net/?id=8481&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: fang-pin.chang <email protected>: "[PHP-DEV] PHP 4.0 Bug #8478: gdcache.h -- malloc.h"
- Previous message: jhostetler <email protected>: "[PHP-DEV] PHP 4.0 Bug #8480: TSRM.dsp has LF only; needs CRLF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

