recaptcha
recaptcha copied to clipboard
Recaptcha not showing dependent on url encoding.
Issue description
Hey all not sure is this the correct place, but couldn't find anywhere else to report client recaptcha problems. When a url contains certain characters e.g % recaptcha fails to show.
Environment
- OS name and version:
- PHP version:
- Web server name and version:
google/recaptchaversion:- Browser name and version:
Reproducing the issue
- URL (optional): https://recaptcha-demo.appspot.com/recaptcha-v2-invisible.php%a
User steps
-
Visit page https://recaptcha-demo.appspot.com/recaptcha-v2-invisible.php and notice recaptcha on bottom right.
-
Visit page https://recaptcha-demo.appspot.com/recaptcha-v2-invisible.php%a and notice no recaptcha.
-
Also happens on this page. https://www.globetrotter.ch/de/3286/Reisevortr%C3%A4ge-%ABUnterwegs-mit-%BB-%7C-Globetrotter.htm
I had the same problem and i've found a solution for me - using encodeURIComponent (not url encoding!) for generating my urls and everything works good