recaptcha icon indicating copy to clipboard operation
recaptcha copied to clipboard

Recaptcha not showing dependent on url encoding.

Open ConorLinehan opened this issue 5 years ago • 1 comments
trafficstars

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/recaptcha version:
  • Browser name and version:

Reproducing the issue

  • URL (optional): https://recaptcha-demo.appspot.com/recaptcha-v2-invisible.php%a

User steps

  1. Visit page https://recaptcha-demo.appspot.com/recaptcha-v2-invisible.php and notice recaptcha on bottom right.

  2. Visit page https://recaptcha-demo.appspot.com/recaptcha-v2-invisible.php%a and notice no recaptcha.

  3. Also happens on this page. https://www.globetrotter.ch/de/3286/Reisevortr%C3%A4ge-%ABUnterwegs-mit-%BB-%7C-Globetrotter.htm

ConorLinehan avatar May 26 '20 10:05 ConorLinehan

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

AlexMavpa avatar Jan 27 '21 11:01 AlexMavpa