enabling reCAPTCHA for older lists
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hello,
I've crossed over into reCAPTCHA hell (voluntarily!).... currently looking for a savior.
I have followed all the instructions in Defaults.py, and I have created the google account and setup the site-key and secret-key in mm_cfg.py, and restated MM. (this is v2.1.27)
Everything works fine on newly created lists. HOWEVER, older existing lists (from years ago) present the following browser error to the user:
reCAPTCHA validation failed: missing-input-response
along with the following browser console debug warning:
A form was submitted in the windows-1252 encoding which cannot encode all Unicode characters, so user input may get corrupted. To avoid this problem, the page should be changed so that the form is submitted in the UTF-8 encoding either by changing the encoding of the page itself to UTF-8 or by specifying accept- charset=utf-8 on the form element.
I've done diff's of the config-text of a new and old list, and the diff output shows nothing more than domains, filters, privacy differences between each list.
What could be set for an older list that would break reCAPTCHAs?
- -Jim P. -----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEPxwe8uYBnqxkbORSJxVetMRaJwUFAltU370ACgkQJxVetMRa JwWWew//dYfSy1wZynpgC0wwqPlDb7utAx+C8vUd1OPsqmalaqucVxSuktu6ltjA EC2Dv96Qh4JJojONwjQOV0mR6dmYOJJhpnJ4+FwV3kL7J8qaKzIMKA6Qjgt5hOiK FpjIQC/+6OOLfdVlTUTMX9o0A1SuhDf2CSgnLcSBSgTJVFgBKI0wyKiZ4KKgsHyg edbU5I4UaS+SsxWW5aN8zyizcCxi08Bh+paG+pFTCRiDKxrGXA0jIyttvX6l6LDj t3hfWfEKmFnXtyNeL0SIA0cKf7yID+RHNF/6Fa57kZ3Co7A/h2e+T3VmDCqs7Kfk LE+hcg5XdSep2eKwAK/kG8rpwMTvT539EN9rFHZMZsYUhQt9BziL9P5jYQZG/MC/ Ue3Xz+O5Qx9wji/3ubtn0d9/NimA7Yvu29WIbyKyKv81Zjyg/iAruJByNJU5wY+L DC2wsk2T4/Bmfs6vvqTcmKqSxuTx3ugHuwwUM9mNAVY/w25M7vF4rfSuQuQ/5Ar3 ln2DY4FsfGx65jIdzH33OPAZA41aynWdh1fdV1AmfZB0rdntexZf0m9oCMIQjzCS PbxFmXdIal1np2IIYW52eaD5hEgyiDi82UaI/lK/A087ZGrFUA0ffeJl30O7p5A7 +zyUqCNUc9YZb/STosMtQ1hP9r/+eCaMzbxg3KDJslW0lCcsjcs= =kXCI -----END PGP SIGNATURE-----
On 07/22/2018 12:49 PM, Jim Popovitch via Mailman-Users wrote:
What could be set for an older list that would break reCAPTCHAs?
A list specific listinfo template.
At rev 1218 (in 2.1.24), I changed the default listinfo templates. See https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1218#templ....
The change that affects reCAPTCHA is moving <MM-Subscribe-Form-Start> from line 29 to line 68. List specific templates that have that line in the old place don't work with the reCAPTCHA feature.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On Sun, 2018-07-22 at 16:36 -0700, Mark Sapiro wrote:
On 07/22/2018 12:49 PM, Jim Popovitch via Mailman-Users wrote:
What could be set for an older list that would break reCAPTCHAs?
A list specific listinfo template.
At rev 1218 (in 2.1.24), I changed the default listinfo templates. See <https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/12 18#templates/en/listinfo.html>.
The change that affects reCAPTCHA is moving <MM-Subscribe-Form-Start> from line 29 to line 68. List specific templates that have that line in the old place don't work with the reCAPTCHA feature.
Thanks Mark!! That was it.
- -Jim P. -----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEPxwe8uYBnqxkbORSJxVetMRaJwUFAltVKoQACgkQJxVetMRa JwWtqQ//dSmcAJa2KzZ+0wr6NPkkONv76wDta/miQQnTAUluPXiZzjH7y6OGR7da g73GRxgUUZCPlPdT4j3Agi+H8Dz7C5qaxlfWvdur2JpmuKWzErZNtecnXlmalDbA gEPDA+F5iTGdcg4FAUNNmG6vN9OB2OBvCDMTEmmZJra5ioWRJDcgh1QviPdwvF1C hRrIiZx+kEo5HpJ7Cf7btxZFFpIC2AP+JQmBu/uo8Kr3c5DpQCX6UfdXzpg/hxA6 0t/BVmGw0/fHhHRKvpiZnz/X8RGb/9XAeaOw5epO6MUmk6toGyxR/1P3B7k2TkNF FRlAUxuYm2eKJgumW4+yEcTKvCVAuV+XLdu8zXKUHeiVH2bdn9z1IK3ls9JR5zET 4kjSjfw2lhWAHk3Yyk9AMurkKTQiZgnBA6JovwFPpx5fXknLLBLnzNmm2V6jj2/B IING6Ua7Bu195mrMN3Udlxx6/DjHuKGpkogp8mtbYsD8rGe6jLmu+JWFcRo/MN62 40KeatuPG3LZJusKddxbMq35hLCWQx3J8nGisQAlsufvMllg8HCYsguybbyIoe5s uH21feaWrkX4K/cUXnvLOsRNKonJfSMkbXk92Efuvu6nRhidQZUwbewwlP65j/VM Vdxw0mJgNYGUyvPtiapmys+XCSGj27mEpW4Wv3IXfHI0BJme9BU= =G04G -----END PGP SIGNATURE-----
participants (2)
-
Jim Popovitch
-
Mark Sapiro