hello,

somehow, the patch in the attachment did not appear in the mailing list, sending
it here as plaintext:

diff -up mailman-2.1.12/Mailman/Handlers/CookHeaders.py.privurl 
mailman-2.1.12/Mailman/Handlers/CookHeaders.py
--- mailman-2.1.12/Mailman/Handlers/CookHeaders.py.privurl      2009-03-30 
15:03:58.000000000 +0200
+++ mailman-2.1.12/Mailman/Handlers/CookHeaders.py      2009-03-30 
15:06:45.000000000 +0200
@@ -215,7 +215,7 @@ def process(mlist, msg, msgdata):
         # Add this header if we're archiving
         if mlist.archive:
             archiveurl = mlist.GetBaseArchiveURL()
-            if archiveurl.endswith('/'):
+            if archiveurl.endswith('/') and archiveurl.find("private") == -1:
                 archiveurl = archiveurl[:-1]
             headers['List-Archive'] = '<%s>' % archiveurl
     # First we delete any pre-existing headers because the RFC permits only
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to