Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailHide breaks HTML5-Validity (+fix) #52

Open
fntc opened this issue Aug 30, 2012 · 1 comment
Open

MailHide breaks HTML5-Validity (+fix) #52

fntc opened this issue Aug 30, 2012 · 1 comment

Comments

@fntc
Copy link

fntc commented Aug 30, 2012

When hiding mails a link is included containing two parameters. To ensure HTML5 validity the & between those parameters should be encoded as &

in recaptchalib.php , function recaptcha_mailhide_url :

change

return "http://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64 ($cryptmail);

to

return "http://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64 ($cryptmail);

This seems to be an upstream issue with recaptchas lib, but a fix would be nice.

@ace-dent
Copy link

Thanks for posting- but both lines look the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants