#18991 [Fbk->NoF]: mimeDecode bug

From: Date: Thu, 05 Dec 2002 00:16:14 +0000
Subject: #18991 [Fbk->NoF]: mimeDecode bug
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11364@lists.php.net to get a copy of this message
ID: 18991 Updated by: sniper@php.net Reported By: okin7@yahoo.fr -Status: Feedback +Status: No Feedback Bug Type: PEAR related Operating System: Linux PHP Version: 4.1.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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@yahoo.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

« previous php.pear.dev (#11364) next »