Daniel3356 / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 1 forks source link

ReCaptcha api url has changed to www.google.com #114

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. request https://api-secure.recaptcha.net/challenge?k=<challenge key>
2. notice the SSL certificate warning "cert does not match domain"

ReCaptcha widget doesn't load

version 0.0.7

Original issue reported on code.google.com by ecol...@gmail.com on 15 May 2011 at 1:50

GoogleCodeExporter commented 8 years ago
btw: this ticket is related to the recaptcha4j library

Original comment by ecol...@gmail.com on 15 May 2011 at 1:52

GoogleCodeExporter commented 8 years ago
I have the same problem. I am temporarily solving by doing a string replace 
after CreateHtml call by following the instructions on this page 
http://groups.google.com/group/recaptcha-announce/browse_thread/thread/c1ff68444
20c9e63?pli=1

Original comment by arunmar...@gmail.com on 7 Jan 2012 at 2:56

GoogleCodeExporter commented 8 years ago
Issue 166 has been merged into this issue.

Original comment by adrian.g...@gmail.com on 3 Aug 2013 at 1:45

GoogleCodeExporter commented 8 years ago
Can be solved by applying patch:

--- a/src/net/tanesha/recaptcha/ReCaptchaImpl.java
+++ b/src/net/tanesha/recaptcha/ReCaptchaImpl.java
@@ -27,9 +27,9 @@ public class ReCaptchaImpl implements ReCaptcha {
        public static final String PROPERTY_THEME = "theme";
        public static final String PROPERTY_TABINDEX = "tabindex";

-       public static final String HTTP_SERVER = "http://api.recaptcha.net";
-       public static final String HTTPS_SERVER = 
"https://api-secure.recaptcha.net";
-       public static final String VERIFY_URL = 
"http://api-verify.recaptcha.net/verify";
+       public static final String HTTP_SERVER = 
"http://www.google.com/recaptcha/api";
+       public static final String HTTPS_SERVER = 
"https://www.google.com/recaptcha/api";
+       public static final String VERIFY_URL = 
"http://www.google.com/recaptcha/api/verify";

        private String privateKey;
        private String publicKey;

Original comment by gus...@gmail.com on 8 Mar 2014 at 12:01