HashanChamara / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
0 stars 0 forks source link

Captcha doesnt work in Chrome on HTTPS #189

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Add a recaptcha to a secure page
2.Open in chrome

What is the expected output? What do you see instead?
a captcha is expected
Chrome shows this message:
[blocked] The page at https://pomonashul.shuls.rustybrick.net/?id=4017 ran 
insecure content from 
http://www.google.com/recaptcha/api/challenge?k=6LcazwoAAAAAADamFkwqj5KN1Gla7l4f
pMMbdZfi.

What version of the product are you using? On what operating system?
version 3

Please provide any additional information below.
If I replace /Element/Captcha.php:15    
ecaptcha_get_html($this->publicKey);
 with 
echo recaptcha_get_html($this->publicKey, null, !empty($_SERVER['HTTPS']));

It fixes this

Original issue reported on code.google.com by mo...@rustybrick.com on 20 Dec 2012 at 4:16