[Mailman-Users] Script private.py writes 'http' instead of 'https'

Sergey Maslennikov for-mm-at-python at rplab.ru
Sun Jul 2 11:45:57 EDT 2017

Hi All,

I set DEFAULT_URL_PATTERN = 'https://%s/' in mm_cfg.py but the script
'Mailman/Cgi/private.py' ignored this setting when it was filling field
"ACTION". It outputted
'... <FORM METHOD=POST ACTION="http://<domain name>/private/<list name>/" name="f"> ...'
('http' instead of 'https').

To avoid 'http' prefix I changed "absolute=1" into "absolute=0" in call
"action = mlist.GetScriptURL('private', absolute=1)". I want to get
correct absolute URL (for "absolute=1") as well. Can somebody show how
to do this right way?

My version of Mailman is 2.1.20 -- default for Debian.

Sergey Maslennikov

More information about the Mailman-Users mailing list