Closed (duplicate)
Project:
reCAPTCHA
Version:
6.x-1.5
Component:
reCAPTCHA Captcha
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Mar 2011 at 14:54 UTC
Updated:
18 Jul 2012 at 06:27 UTC
reCAPTCHA does not work when selecting the AJAX API (when I am going over https) - I turned off the AJAX API and it worked for me.
I was testing using IE 8.
I'd suggest (as a quick workaround) - to disable the AJAX checkbox if https is enabled on the server.
This was only reproducible on IE (Firefox, Chrome, Safari etc.) worked just fine. I'd gather that this is because IE takes out anything that goes over http when using https.
Comments
Comment #1
rklawson commentedI was no longer able to get it to work in IE at all:
http://groups.google.com/group/recaptcha/browse_thread/thread/57baacc2a0...
The quick fix for me was to change one line in my reCAPTCHA instance's recaptchalib.php file. I changed line 39 from this:
To this:
This is also updated in the latest version (1.11) of the reCAPTCHA PHP plugin, which is available from this address:
http://code.google.com/p/recaptcha/downloads/detail?name=recaptcha-php-1...
I hope this helps someone else.
* Edit: after looking at this a little more, I would recommend upgrading to 1.11 since there are other connection strings that need to be updated.
Comment #2
iva2k commentedsee #1124950: reCAPTCHA uses a new HTTPS API URL
Comment #3
mvcComment #4
webengr commentedOn a drupal website that was all https, I also have the issue of the recaptcha place on page being http not https.
I was using 7.x-1.7 2011-May-04
I changed to the dev module 7.x-1.x-dev 2011-May-27
and the https page with recaptcha now loads without complaint on MSIE 9,
I believe the lib may be fixed in the dev for drupal7 but not 7.x-1.7 ???
"reCAPTCHA: May 4, 2011 15:52
Commit b7e5410 on 5.x-2.x
by Rob Loach
Issue #1142150 by Misterw: New HTTPS API reCAPTCHA URL.
"
Comment #5
vijayasri01 commentedI was using 7.x-1.7 I had the same issue of the recaptcha place on page being http not https.
I found in the recaptcha.module using
drupal_add_js('http://api.recaptcha.net/js/recaptcha_ajax.js', array('type' => 'external'));
There is a secure version of this javascript file here:
https://www.google.com/recaptcha/api/js/recaptcha_ajax.js
When I replaced it with secure version of javascript file my issue got fixed.
drupal_add_js('https://www.google.com/recaptcha/api/js/recaptcha_ajax.js', array('type' => 'external'));
Hope this may help...
Comment #6
vijayasri01 commentedI hope core team have to fix it in the 7.x-1.7
Comment #7
defconjuan commentedSo does one just always embed the https library or is there an elegant solution for switching to the js library when the site's viewed over https?
Comment #8
defconjuan commentedNevermind, I figured out a Drupal 7.x compatible solution: http://drupal.org/node/1324932#comment-6246504