]> git.donarmstrong.com Git - roundcube.git/commitdiff
Add a patch to avoid duplicate boundaries in headers when adding an
authorVincent Bernat <bernat@debian.org>
Mon, 18 Oct 2010 17:39:44 +0000 (17:39 +0000)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 18:51:50 +0000 (20:51 +0200)
attachment. Closes: #599586.

debian/changelog
debian/patches/fix-599586.patch [new file with mode: 0644]
debian/patches/series

index c281558c8ac727400602ff4b806855b9d0681fef..347654c7f913860a8fc2a7be068944a97de5a67f 100644 (file)
@@ -4,8 +4,10 @@ roundcube (0.3.1-6) UNRELEASED; urgency=low
     Closes: #596181.
   * Update Portuguese debconf translation, thanks to Christian Perrier.
     Closes: #599575.
+  * Add a patch to avoid duplicate boundaries in headers when adding an
+    attachment. Closes: #599586.
 
- -- Vincent Bernat <bernat@debian.org>  Sat, 09 Oct 2010 11:19:15 +0200
+ -- Vincent Bernat <bernat@debian.org>  Mon, 18 Oct 2010 19:39:09 +0200
 
 roundcube (0.3.1-5) unstable; urgency=low
 
diff --git a/debian/patches/fix-599586.patch b/debian/patches/fix-599586.patch
new file mode 100644 (file)
index 0000000..2ac3d77
--- /dev/null
@@ -0,0 +1,21 @@
+Fix #599586 which was caused by duplicate boundaries. The fix is to
+simply use _addMixedPart from original Mail_Mime class which is recent
+enough in our case.
+
+--- roundcube/program/include/rcube_mail_mime.php~     2009-05-01 19:58:12.000000000 +0200
++++ roundcube/program/include/rcube_mail_mime.php      2010-10-18 19:31:33.751930400 +0200
+@@ -102,12 +102,12 @@
+    * @return object  The multipart/mixed mimePart object
+    * @access private
+    */
+-  function &_addMixedPart()
++  /* function &_addMixedPart()
+   {
+     $params['content_type'] = $this->_headers['Content-Type'] ? $this->_headers['Content-Type'] : 'multipart/mixed';
+     $ret = new Mail_mimePart('', $params);
+     return $ret;
+-  }
++  } */
+   
+   
+   /**
index b2874f4af9c0299780bbc4dc0d17a61fff1c508e..8d2af0057cc0c69853e6682869811533eeacd2ec 100644 (file)
@@ -10,3 +10,4 @@ dont-limit-email-local-part.patch
 disable-dns-prefetch.patch
 default-charset-utf8.patch
 received-headers-sa.patch
+fix-599586.patch