------------------------------------------------------------
revno: 1894
fixes bug: https://launchpad.net/bugs/2047306
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Thu 2024-11-14 21:10:09 -0800
message:
  Update reCAPTCHA urls for global use.
modified:
  Mailman/Cgi/listinfo.py
  Mailman/Cgi/subscribe.py
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Cgi/listinfo.py'
--- Mailman/Cgi/listinfo.py	2019-06-19 23:56:49 +0000
+++ Mailman/Cgi/listinfo.py	2024-11-15 05:10:09 +0000
@@ -267,7 +267,7 @@
         replacements['<mm-recaptcha-ui>'] = (
             """<tr><td>&nbsp;</td><td>
             <noscript>%s</noscript>
-            <script src="https://www.google.com/recaptcha/api.js?hl=%s";>
+            <script src="https://www.recaptcha.net/recaptcha/api.js?hl=%s";>
             </script>
             <div class="g-recaptcha" data-sitekey="%s"></div>
             </td></tr>"""

=== modified file 'Mailman/Cgi/subscribe.py'
--- Mailman/Cgi/subscribe.py	2020-06-10 22:04:26 +0000
+++ Mailman/Cgi/subscribe.py	2024-11-15 05:10:09 +0000
@@ -139,7 +139,7 @@
     # Check reCAPTCHA submission, if enabled
     if mm_cfg.RECAPTCHA_SECRET_KEY:
         request = urllib2.Request(
-            url = 'https://www.google.com/recaptcha/api/siteverify',
+            url = 'https://www.recaptcha.net/recaptcha/api/siteverify',
             data = urllib.urlencode({
                 'secret': mm_cfg.RECAPTCHA_SECRET_KEY,
                 'response': cgidata.getvalue('g-recaptcha-response', ''),

=== modified file 'NEWS'
--- NEWS	2023-05-22 19:58:09 +0000
+++ NEWS	2024-11-15 05:10:09 +0000
@@ -24,6 +24,8 @@
       (LP: #2015416)
     - Yet another possible list membership leak via the user options CGI is
       fixed.  (LP: #2017813)
+    - The Google reCAPTCHA urls have been updated for global useability.
+      (LP: #2047306)
 
 2.1.39 (13-Dec-2021)
 

_______________________________________________
Mailman-checkins mailing list -- mailman-checkins@python.org
To unsubscribe send an email to mailman-checkins-le...@python.org
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: arch...@jab.org

Reply via email to