Apply 79_archiver_slash.patch
authorMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:33:03 +0000 (20:33 -0400)
committerMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:33:03 +0000 (20:33 -0400)
Mailman/Archiver/Archiver.py
Mailman/Defaults.py.in

index 3289203..f80cd12 100644 (file)
@@ -146,8 +146,6 @@ class Archiver:
                 'listname': self.internal_name(),
                 'hostname': hostname
                 }
-            if not url.endswith('/'):
-                url += '/'
             return url
 
     def __archive_file(self, afn):
index 9e7a057..3312497 100644 (file)
@@ -205,7 +205,7 @@ WEB_HIGHLIGHT_COLOR = '#dddddd'                   # If true, alternating rows
 # interpolate the name of the list into this.  You can also include a
 # "%(hostname)s" in the string, into which Mailman will interpolate
 # the host name (usually DEFAULT_URL_HOST).
-PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'
+PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s/'
 
 # Are archives on or off by default?
 DEFAULT_ARCHIVE = On