From 1a40df4eee190a227d191b55d1cf6df65d278ec3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 8 Sep 2009 15:32:36 -0600 Subject: [PATCH] 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. --- framework/Mime/lib/Horde/Mime/Part.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0