Mark Sapiro wrote: >geraud.guib...@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é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'.
Also, It appears you have the port in both the pattern and the url host. The preferred way to specify ports is in the patterns PUBLIC_ARCHIVE_URL and DEFAULT_URL_PATTERN, and not in the url host. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9