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

Obfuscate email address when entered with mailto prefix #73

Open
nickcernis opened this issue Aug 20, 2018 · 0 comments
Open

Obfuscate email address when entered with mailto prefix #73

nickcernis opened this issue Aug 20, 2018 · 0 comments

Comments

@nickcernis
Copy link
Contributor

nickcernis commented Aug 20, 2018

In #61 we obfuscated email addresses.

That's working when addresses are entered as literal addresses ([email protected]), but not when prefixed with (mailto:[email protected]): https://wordpress.org/support/topic/email-address-isnt-encoded/#post-10607846

We could adapt the test at https://github.com/studiopress/simple-social-icons/pull/61/files#diff-12a1b54f83ab74a5deb89c7b9c8cc7eeL394 to first strip 'mailto:' from the string before testing for an email address (and also apply antispambot only to the email portion if mailto is present).

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