[Mailman-Developers] Correct public archive URLs

Marc MERLIN marc_news@vasoftware.com
Thu, 21 Feb 2002 02:04:45 -0800


URLs were missing the trailing slash, which caused an extra http request
and an http redirect.

diff -urN mailman-cvs.orig/Mailman/Archiver/Archiver.py mailman-cvs/Mailman/Archiver/Archiver.py
--- mailman-cvs.orig/Mailman/Archiver/Archiver.py       Mon Feb 11 15:14:16 2002
+++ mailman-cvs/Mailman/Archiver/Archiver.py    Thu Feb 21 02:01:06 2002
@@ -130,7 +130,7 @@
             return mm_cfg.PUBLIC_ARCHIVE_URL % {
                 'listname': self.internal_name(),
                 'hostname': inv.get(self.host_name, mm_cfg.DEFAULT_URL_HOST),
-                }
+           } + '/'
 
     def __archive_file(self, afn):
        """Open (creating, if necessary) the named archive file."""

Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key