axllent / silverstripe-email-obfuscator
Email obfuscator for SilverStripe
Package info
github.com/axllent/silverstripe-email-obfuscator
Type:silverstripe-vendormodule
pkg:composer/axllent/silverstripe-email-obfuscator
2.1.1
2025-06-26 04:11 UTC
Requires
- silverstripe/framework: ^4.0 || ^5.0 || ^6.0
README
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.
Example
me@site.com
becomes:
me@site.com
Requirements
- Silverstripe ^4 || ^5 || ^6
Silverstripe 3 should check out the silverstripe3 branch
Installation
composer require axllent/silverstripe-email-obfuscator
Usage
The filter automatically encodes any email address outputted through the ContentController provided it contains the default text/html header.
No configuration required.