Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Bug #10816 Unwanted linebreak at the end of output
Submitted: 2007-04-23 22:27 UTC
From: xolphin Assigned: cipri
Status: Closed Package: Mail_Mime (version 1.4.0RC2)
PHP Version: Irrelevant OS: Linux
Roadmaps: 1.4.0, 1.4.0RC3    
Subscription  


 [2007-04-23 22:27 UTC] xolphin (Maarten Bremer)
Description: ------------ mimePart->encode() adds a unwanted linebreak at the end of the output, making my signed messages fail in Outlook. Expected result: ---------------- bmZvIDggMCBSCj4+CnN0YXJ0eHJlZgoyMzI0MAolJUVPRgo= --=_5bdf621d1bfaa739515269c2c3bf79f5-- ------367FD1B765DEB7C1C28E32CE31E112FA Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIIMugYJKoZIhvcNAQcCoIIMqzCCDKcCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3 Actual result: -------------- bmZvIDggMCBSCj4+CnN0YXJ0eHJlZgoyMzI0MAolJUVPRgo= --=_5bdf621d1bfaa739515269c2c3bf79f5-- ------367FD1B765DEB7C1C28E32CE31E112FA Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIIMugYJKoZIhvcNAQcCoIIMqzCCDKcCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3

Comments

 [2007-04-23 23:02 UTC] cipri (Cipriano Groenendal)
Please try the attached patch and let me know if that helps?
 [2007-04-23 23:49 UTC] cipri (Cipriano Groenendal)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.