ambethia / recaptcha

ReCaptcha helpers for ruby apps

Home Page:http://github.com/ambethia/recaptcha

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use www.recaptcha.net when www.google.com is not available?

dellch opened this issue · comments

commented

Is there a configuration option in the package to configure the url to be www.recaptcha.net instead of www.google.com?

This is in reference to this FAQ item on developers.google.com/recaptcha/docs/faq: Can I use reCaptcha globally?

The answer to the FAQ:

Can I use reCAPTCHA globally?
Yes, please use "www.recaptcha.net" in your code in circumstances when "www.google.com" is not accessible.

  • First, replace <script src="https://www.google.com/recaptcha/api.js" async defer></script> with <script src="https://www.recaptcha.net/recaptcha/api.js" async defer></script>
  • After that, apply the same to everywhere else that uses "www.google.com/recaptcha/" on your site.
commented

Actually, now I'm looking at lib/recaptcha/configuration.rb, and it looks like this is the default URL.

Perhaps there is some other issue preventing some users in china from seeing the recaptcha box. Any suggestions?

no idea ... we switched to www.recaptcha.net to prevent these kind of issues, but maybe it's blocked now too

best ask someone in china to review reachability

no idea ... we switched to www.recaptcha.net to prevent these kind of issues, but maybe it's blocked now too

best ask someone in china to review reachability

same... some of my users cannot access.
I am a Chinese developer. Actually, most users can access recaptcha.net, but some users have such problems, which may mean that the domain name will be completely blocked in the future.

image