[Pkg-mailman-hackers] Bug#350388: mailman: False assumption that listarchive url needs to end with /

Joerg Jaspert joerg at debian.org
Sun Jan 29 12:25:36 UTC 2006


Package: mailman
Version: 2.1.5-8sarge1
Severity: important

Hi,

mailman has the wrong assumption that every list archive needs to end in /.
Thats done in archiver.py in /usr/lib/mailman/Mailman/Archiver, asimple
diff to fix this is attached.

--- Archiver.py.orig	2006-01-20 15:30:25.000000000 +0000
+++ Archiver.py	2006-01-29 12:15:23.998863298 +0000
@@ -145,8 +145,6 @@
                 'listname': self.internal_name(),
                 'hostname': inv.get(self.host_name, mm_cfg.DEFAULT_URL_HOST),
                 }
-            if not url.endswith('/'):
-                url += '/'
             return url
 
     def __archive_file(self, afn):

-- 
bye Joerg




More information about the Pkg-mailman-hackers mailing list