WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.32k stars 4.12k forks source link

Add antispam protection to mailto links #61829

Open benoitchantre opened 3 months ago

benoitchantre commented 3 months ago

What problem does this address?

Email adresses can easily be retrieved from web pages and added to spam lists.

It would be great to provide a solution to protect a bit these email adresses when a form can’t be used.

What is your proposed solution?

Maybe the email address could be encoded directly by the block editor with a solution similar to the antispambot() function. I know this is not bulletproof, but better than nothing.

Mamaduka commented 3 months ago

Note: The mailto: links in the Social block are already obfuscated (#57384).