diff options
author | Mark Sapiro <mark@msapiro.net> | 2018-06-03 16:52:44 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2018-06-03 16:52:44 -0700 |
commit | eef7927345dd7a93c5290c9f0a3805e517e3f453 (patch) | |
tree | 24570cf42d660043e5812d3fe404dedf691eea04 /Mailman/Cgi/listinfo.py | |
parent | d1bbecfd795d3fb615dad0171a0a19c21d9937a9 (diff) | |
parent | f1e9440ad3e4babcdc9999f572f7b4d7929130b1 (diff) | |
download | mailman2-eef7927345dd7a93c5290c9f0a3805e517e3f453.tar.gz mailman2-eef7927345dd7a93c5290c9f0a3805e517e3f453.tar.xz mailman2-eef7927345dd7a93c5290c9f0a3805e517e3f453.zip |
Modified SUBSCRIBE_FORM_SECRET hash generation.
Diffstat (limited to 'Mailman/Cgi/listinfo.py')
-rw-r--r-- | Mailman/Cgi/listinfo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py index 78fda942..b55c263d 100644 --- a/Mailman/Cgi/listinfo.py +++ b/Mailman/Cgi/listinfo.py @@ -218,9 +218,9 @@ def list_listinfo(mlist, lang): remote = remote.rsplit(':', 1)[0] replacements['<mm-subscribe-form-start>'] += ( '<input type="hidden" name="sub_form_token" value="%s:%s">\n' - % (now, Utils.sha_new(mm_cfg.SUBSCRIBE_FORM_SECRET + - now + - mlist.internal_name() + + % (now, Utils.sha_new(mm_cfg.SUBSCRIBE_FORM_SECRET + ":" + + now + ":" + + mlist.internal_name() + ":" + remote ).hexdigest() ) |