projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use Content-Security-Policy instead of old X-Frame-Options
[ansible.git]
/
roles
/
email
/
files
/
mailman-patched
/
Cgi
/
listinfo.py
diff --git
a/roles/email/files/mailman-patched/Cgi/listinfo.py
b/roles/email/files/mailman-patched/Cgi/listinfo.py
index 0ce6393f5b3d8343e7634f1754cd2f26827d4e93..b46bab149c87d83f2b81bb7d2e713dd3b1d70398 100644
(file)
--- a/
roles/email/files/mailman-patched/Cgi/listinfo.py
+++ b/
roles/email/files/mailman-patched/Cgi/listinfo.py
@@
-221,7
+221,7
@@
def list_listinfo(mlist, lang):
# for our hash so it doesn't matter.
remote = remote.rsplit(':', 1)[0]
# get CAPTCHA data
# for our hash so it doesn't matter.
remote = remote.rsplit(':', 1)[0]
# get CAPTCHA data
- (captcha_question, captcha_box, captcha_idx) = Captcha.display
html
(mlist, mm_cfg.CAPTCHAS)
+ (captcha_question, captcha_box, captcha_idx) = Captcha.display(mlist, mm_cfg.CAPTCHAS)
replacements['<mm-captcha-question>'] = captcha_question
replacements['<mm-captcha-box>'] = captcha_box
# fill form
replacements['<mm-captcha-question>'] = captcha_question
replacements['<mm-captcha-box>'] = captcha_box
# fill form