[Mailman-Users] broken URL link for public archive lists

Mark Sapiro mark at msapiro.net
Tue Jul 28 17:08:13 CEST 2009


geraud.guibert at free.fr wrote:
>
>to be more precise, here is a piece of broken HTML code
>(https://mailman.onera/mailman/listinfo/test) :
>
>...
><p> Pour voir tous les messages pass&eacute;s de la liste, visitez les
><a href="https://{'listname': 'test',
>'hostname':'mailman.onera:443'}:443/pipermail/test/">
>Archives de test</a>.
></p>
>...

It appears that you have overridden PUBLIC_ARCHIVE_URL in mm_cfg.py and
in so doing have changed the default

PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'

to something like

PUBLIC_ARCHIVE_URL = 'http://%s:443/pipermail/%(listname)s'

Replacing %(hostname)s with %s causes it to be interpolated with the
entire dictionary {'listname': 'test',
'hostname':'mailman.onera:443'} instead of just the 'hostname' value
'mailman.onera:443'.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list