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

How does URL Encoding protect a mail address? #7

Open
patrickfav opened this issue May 29, 2018 · 2 comments
Open

How does URL Encoding protect a mail address? #7

patrickfav opened this issue May 29, 2018 · 2 comments

Comments

@patrickfav
Copy link

As far as I understand this liquid filter will just url encode the email address. To me, this kind of defeats the purpose as it will only get harder to read for humans, but is still easy to read for machines - so basically the opposite of what is intended?

Isn't the only way to obfuscate the mail to use some naive javascript obfuscation so it is not visible in the source of the HTML?

@patrickfav
Copy link
Author

Case in point: http://techblog.tilllate.com/2008/07/20/ten-methods-to-obfuscate-e-mail-addresses-compared/ "(...) URL encode is the next-to-least effective. Only plain text was worse."

@patrickfav
Copy link
Author

Here is a gist of a simple plugin I made for my page with another implementation incorporating some tricks mentioned in the blog above:

https://gist.github.com/patrickfav/3f9127e25dd6538f0d682b89cbfaefd9

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

1 participant