aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2018-05-05 09:25:09 -0700
committerMark Sapiro <mark@msapiro.net>2018-05-05 09:25:09 -0700
commit86c1771a9cc63404ed1e258bbed6920021140eae (patch)
tree9224fe2a9bcd94516b0a4d10ec4bcc729cfbd359
parent143e38ced0dcdfa8a402e803c441c545a61a142e (diff)
downloadmailman2-86c1771a9cc63404ed1e258bbed6920021140eae.tar.gz
mailman2-86c1771a9cc63404ed1e258bbed6920021140eae.tar.xz
mailman2-86c1771a9cc63404ed1e258bbed6920021140eae.zip
Add <noscript> note to listinfo reCAPTCHA that JavaScript is required.
-rw-r--r--Mailman/Cgi/listinfo.py1
-rw-r--r--NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py
index 428834ba..4f30108c 100644
--- a/Mailman/Cgi/listinfo.py
+++ b/Mailman/Cgi/listinfo.py
@@ -247,6 +247,7 @@ def list_listinfo(mlist, lang):
if mm_cfg.RECAPTCHA_SITE_KEY:
replacements['<mm-recaptcha-ui>'] = (
"""<tr><td>&nbsp;</td><td>
+ <noscript>This form requires JavaScript.</noscript>
<script src="https://www.google.com/recaptcha/api.js?hl=%s">
</script>
<div class="g-recaptcha" data-sitekey="%s"></div>
diff --git a/NEWS b/NEWS
index 71e22ee0..3f0238f4 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,10 @@ Here is a history of user visible changes to Mailman.
- A Python 2.7 dependency introduced with the reCAPTCHA feature in 2.1.26
has been removed. (LP: #1752658)
+ - The reCAPTCHA feature requires JavaScript. If JavaScript is not enabled,
+ a message will be displayed on the subscribe form that JavaScript is
+ required. (LP: #1769374)
+
2.1.26 (04-Feb-2018)
Security