Edgewall Software

Changes between Version 1 and Version 2 of Ticket #12379


Ignore:
Timestamp:
Mar 3, 2016, 4:43:46 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12379 – Description

    v1 v2  
    1 Seeing the following error with Recaptcha2:
     1Seeing the following error with reCAPTCHA2:
    22
    33{{{
     
    55}}}
    66
    7 The problem is that Recaptcha2 return [https://developers.google.com/recaptcha/docs/verify JSON], but the data is handled as if it was a newline delimited string: [browser:plugins/1.0/spam-filter/tracspamfilter/captcha/recaptcha2.py@14567:82#L63].
     7The 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].
    88
    9 Recaptcha returns string data, so the issue here may be that the code was copied from `tracspamfilter.captcha.recaptcha`.
     9The reCAPTCHA API returns string data, so the issue here may be that the code was copied from `tracspamfilter.captcha.recaptcha`.
    1010
    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.
     11Another 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.
    1212
    1313[[Image(Screen Shot 2016-03-02 at 18.39.51.png)]]