A HTTPMiddleware filter to automatically obfuscate all visible email addresses in all HTML output via the ContentController by replacing them with an encoded (switching between ASCII & hexadecimal) version.
becomes:
me@site.com
- SilverStripe ^4 || ^5
SilverStripe 3 should check out the silverstripe3 branch
composer require axllent/silverstripe-email-obfuscator
The filter automatically encodes any email address outputted through the ContentController provided it contains the default text/html header.
No configuration required.