[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-cvs
Subject:    [Mailman-checkins] [Branch ~mailman-coders/mailman/2.1] Rev 1324:
From:       noreply () launchpad ! net
Date:       2011-11-11 21:02:12
Message-ID: 20111111210212.9928.15227.launchpad () ackee ! canonical ! com
[Download RAW message or body]

------------------------------------------------------------
revno: 1324
committer: Mark Sapiro <msapiro@value.net>
branch nick: 2.1
timestamp: Fri 2011-11-11 12:55:16 -0800
message:
  Changed the way digest_footer is added to the RFC 1153 (plain) format
  digest for RFC compliance.  Bug #887610.
modified:
  Mailman/Handlers/ToDigest.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-c=
oders/mailman/2.1/+edit-subscription

["revision-diff.txt" (revision-diff.txt)]

=== modified file 'Mailman/Handlers/ToDigest.py'
--- Mailman/Handlers/ToDigest.py	2010-03-05 21:09:41 +0000
+++ Mailman/Handlers/ToDigest.py	2011-11-11 20:55:16 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -361,16 +361,17 @@
         footer['Content-Description'] = _('Digest Footer')
         mimemsg.attach(footer)
         # RFC 1153
-        # BAW: This is not strictly conformant RFC 1153.  The trailer is only
-        # supposed to contain two lines, i.e. the "End of ... Digest" line and
-        # the row of asterisks.  If this screws up MUAs, the solution is to
-        # add the footer as the last message in the RFC 1153 digest.  I just
-        # hate the way that VM does that and I think it's confusing to users,
-        # so don't do it unless there's a clamor.
+        # MAS: There is no real place for the digest_footer in an RFC 1153
+        # compliant digest, so add it as an additional message with
+        # Subject: Digest Footer
         print >> plainmsg, separator30
         print >> plainmsg
+        print >> plainmsg, 'Subject: ' + _('Digest Footer')
+        print >> plainmsg
         print >> plainmsg, footertxt
         print >> plainmsg
+        print >> plainmsg, separator30
+        print >> plainmsg
     # Do the last bit of stuff for each digest type
     signoff = _('End of ') + digestid
     # MIME

=== modified file 'NEWS'
--- NEWS	2011-10-14 04:26:53 +0000
+++ NEWS	2011-11-11 20:55:16 +0000
@@ -71,6 +71,9 @@
 
   Bug Fixes and other patches
 
+    - Changed the way digest_footer is added to the RFC 1153 (plain) format
+      digest for RFC compliance.  Bug #887610.
+
     - Fixed cron/checkdbs to report unsubscriptions waiting approval.
       Bug #873821.
 



_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/mailman-cvs%40progressive-comp.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic