Changes between Version 1 and Version 2 of Ticket #12379
- Timestamp:
- Mar 3, 2016, 4:43:46 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12379 – Description
v1 v2 1 Seeing the following error with Recaptcha2:1 Seeing the following error with reCAPTCHA2: 2 2 3 3 {{{ … … 5 5 }}} 6 6 7 The problem is that Recaptcha2 return [https://developers.google.com/recaptcha/docs/verify JSON], but the datais handled as if it was a newline delimited string: [browser:plugins/1.0/spam-filter/tracspamfilter/captcha/recaptcha2.py@14567:82#L63].7 The problem is that the reCAPTCHA2 API returns [https://developers.google.com/recaptcha/docs/verify JSON], but the response is handled as if it was a newline delimited string: [browser:plugins/1.0/spam-filter/tracspamfilter/captcha/recaptcha2.py@14567:82#L63]. 8 8 9 Recaptchareturns string data, so the issue here may be that the code was copied from `tracspamfilter.captcha.recaptcha`.9 The reCAPTCHA API returns string data, so the issue here may be that the code was copied from `tracspamfilter.captcha.recaptcha`. 10 10 11 Another issue I noticed while working in a dev environment is that Recaptcha2 is not rendered because the //Submit// button is placed inside the `div` where the captcha is rendered.11 Another issue I noticed while working in a dev environment is that the reCAPTCHA2 image is not rendered because the //Submit// button is placed inside the `div` where the captcha is rendered. The JavaScript that adds the image expects the `div` to be empty. 12 12 13 13 [[Image(Screen Shot 2016-03-02 at 18.39.51.png)]]