[Bug 964190] [NEW] Trailing slash is stripped from List-Archive: URL

Mark Sapiro mark at msapiro.net
Sat Mar 24 23:29:25 CET 2012

Public bug reported:

In creating the List-Archive: header, CookHeaders.py strips a trailing
slash from the URL returned by mlist.GetBaseArchiveURL(). It has always
(in 2.1) done this, but it is wrong.

Consider a list's archive TOC page which has entries like the following:

            <td>March 2012:</td>
              <A href="2012-March/thread.html">[ Thread ]</a>
              <A href="2012-March/subject.html">[ Subject ]</a>
              <A href="2012-March/author.html">[ Author ]</a>
              <A href="2012-March/date.html">[ Date ]</a>
            <td><A href="2012-March.txt">[ Text 766 KB ]</a></td>

If the base archive URL is http://www.example.com/private/listname/ and
one goes to that URL, the relative hrefs all work fine, but if one goes
to http://www.example.com/private/listname instead, those relative hrefs
become relative to private/ instead of private/listname/,  and one gets
'no such list: 2012-march' errors (or 404 errors in the case of public
'pipermail' URLs).

** Affects: mailman
     Importance: Low
     Assignee: Mark Sapiro (msapiro)
         Status: New

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  Trailing slash is stripped from List-Archive: URL

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list