------------------------------------------------------------
revno: 1591
fixes bug: https://launchpad.net/bugs/1525954
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Mon 2015-12-14 14:25:18 -0800
message:
  Ensure white space following subject_prefix.
modified:
  Mailman/Handlers/CookHeaders.py
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Handlers/CookHeaders.py'
--- Mailman/Handlers/CookHeaders.py	2015-10-14 16:42:19 +0000
+++ Mailman/Handlers/CookHeaders.py	2015-12-14 22:25:18 +0000
@@ -425,6 +425,11 @@
         except UnicodeError:
             pass
     # Get the header as a Header instance, with proper unicode conversion
+    # Because of rfc2047 encoding, spaces between encoded words can be
+    # insignificant, so we need to append a space to prefix but only when
+    # we have Re:.
+    if recolon:
+        prefix += ' '
     if old_style:
         h = uheader(mlist, recolon, 'Subject', continuation_ws=ws)
         h.append(prefix)

=== modified file 'NEWS'
--- NEWS	2015-12-14 00:34:39 +0000
+++ NEWS	2015-12-14 22:25:18 +0000
@@ -21,6 +21,10 @@
       de Mello.
 
   Bug fixes and other patches
+
+    - Fixed an issue that sometimes left no white space following
+      subject_prefix.  (LP: #1525954)
+
     - Vette log entries for banned subscriptions now include the source of
       the request if available.  (LP: #1525733)
 

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to