helga-agentur / drupal-module-email-obfuscator

Drupal Email Obfuscator Module
0 stars 0 forks source link
drupal-module

Drupal Module Email Obfuscator

The Drupal Email Obfuscator Module uses a middleware get rendered content from each request. The content is searched for emails with regexes. The emails are obfuscated depending on where the text is found.

Obfuscations

Emails in a Mailto-Link

Example: <a href="https://github.com/helga-agentur/drupal-module-email-obfuscator/blob/2.x/mailto:test@email.com">

The re-reverse is only done once in order to avoid reversing back to the reversed email

All other Emails

Example: <a>test@email.com</a>

Exclusions

Whitelisting Routes