From: Michael M Slusarz Date: Tue, 8 Sep 2009 21:32:36 +0000 (-0600) Subject: Revert "The encode filter doesn't use this parameter (it probably should)" X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1a40df4eee190a227d191b55d1cf6df65d278ec3;p=horde.git Revert "The encode filter doesn't use this parameter (it probably should)" This reverts commit 6fea0fc8cd5aebbde1e28a3775242ee913a90a34. According to Jan, PHP really does use this param even though it is not documented. --- diff --git a/framework/Mime/lib/Horde/Mime/Part.php b/framework/Mime/lib/Horde/Mime/Part.php index 5a7fbb110..8215bafad 100644 --- a/framework/Mime/lib/Horde/Mime/Part.php +++ b/framework/Mime/lib/Horde/Mime/Part.php @@ -460,7 +460,7 @@ class Horde_Mime_Part case 'quoted-printable': /* Quoted-Printable Encoding: See RFC 2045, section 6.7 */ - return $this->_writeStream($fp, array('filter' => 'convert.quoted-printable-encode')); + return $this->_writeStream($fp, array('filter' => 'convert.quoted-printable-encode', 'params' => array('line-break-chars' => $this->getEOL()))); default: $this->_temp['transferEncodeClose'] = false;