Bug #8555: Linewrap q-p data
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 8 Oct 2009 16:41:52 +0000 (10:41 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 8 Oct 2009 16:41:52 +0000 (10:41 -0600)
framework/Mime/lib/Horde/Mime/Part.php

index 596bab3..c9d4678 100644 (file)
@@ -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', 'params' => array('line-break-chars' => $this->getEOL())));
+            return $this->_writeStream($fp, array('filter' => 'convert.quoted-printable-encode', 'params' => array('line-length' => 76, 'line-break-chars' => $this->getEOL())));
 
         default:
             $this->_temp['transferEncodeClose'] = false;