php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18991 sean
Submitted: 2002-08-20 13:38 UTC Modified: 2004-12-13 15:44 UTC
From: okin7 at yahoo dot fr Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.1.2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: okin7 at yahoo dot fr
New email:
PHP Version: OS:

 

 [2002-08-20 13:38 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-21 04:51 UTC] 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-11-24 23:36 UTC] 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-12-04 18:16 UTC] 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.


 [2004-12-13 15:44 UTC] sean@php.net
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.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 30 13:01:24 2021 UTC