PHP 4.0 Bug #8949: imap_8bit() does not encode leading dots correctly
| From: | chris dot php at bolt dot cx | Date: | Sat, 27 Jan 2001 08:42:25 +0000 |
| Subject: | PHP 4.0 Bug #8949: imap_8bit() does not encode leading dots correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45118@lists.php.net to get a copy of this message | ||
From: chris.php@bolt.cx
Operating system: Windows 2000
PHP version: 4.0.4pl1
PHP Bug Type: IMAP related
Bug description: imap_8bit() does not encode leading dots correctly
The imap_8bit() function does not duplicate leading dots, which may cause a message to be cut off if
it has a single dot on a line. Also, mail clients such as Outlook 2000 will strip these leading
dots, which can cause an URL to be mangled if it is split along a dot (this is how I discovered the
bug). To fix, replace any dots at the very start of a quoted-printable encoded line with 2 dots.
(.hello becomes ..hello, etc)
--
Edit Bug report at: http://bugs.php.net/?id=8949&edit=1