#18991 [NoF->Csd]: sean
| From: | sean@php.net | Date: | Mon, 13 Dec 2004 14:44:57 +0000 |
| Subject: | #18991 [NoF->Csd]: sean | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35036@lists.php.net to get a copy of this message | ||
ID: 18991
Updated by: sean@php.net
-Summary: mimeDecode bug
Reported By: okin7 at yahoo dot fr
-Status: No Feedback
+Status: Closed
Bug Type: PEAR related
Operating System: Linux
PHP Version: 4.1.2
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-12-04 18:16:13] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2002-11-24 23:36:18] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-08-21 04:51:00] richard@php.net
Thanks. The former is fixed in CVS though. Will apply this as soon as I
can be ars^H^H^H^H^H^H get to it.
:)
------------------------------------------------------------------------
[2002-08-20 13:38:30] okin7 at yahoo dot fr
In found two mistakes in PEAR/Mail/mimeDecode.php and corrected it :
line 467 :
switch ( $encoding ) {
replaced with :
switch ( strtolower($encoding) ) {
AND
line 278 :
$return->parts[] = $obj->decode(array(
'include_bodies' => $this->_include_bodies));
replaced with :
$return->parts[] = $obj->decode(array(
'include_bodies' => $this->_include_bodies,
'decode_bodies' => $this->_decode_bodies,
'decode_headers' => $this->_decode_headers));
I found the first bug by parsing emails send from Pine witch, in my
case, sends uppercapitalized headers.
The second one occurs when decoding a mail with a RFC822 attachment :
this attachment wasn't decoded.
Please tell me if my bug report is helpfull for you, i don't know what
is behind this reporting bug system.
Thank
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18991&edit=1