Issue Bug Closed

#89910spamProtectEmailAddresses doesn't work as expected with value "ascii"

Florian Rival 12/10/19, 16:36 updated 01/17/22, 07:44

Description

In the documentation, it’s written that when you set :

config.spamProtectEmailAddresses = ascii

every character of the “mailto:” address will be translated to a Unicode HTML notation like this :

<a href="mailto:&#97;&#64;&#98;&#46;&#99;">xxx(at)xxx.com</a>

But when I set this parameter, email links are not encrypted :

<a href="mailto:l.devedeux@terresinovia.fr">l.devedeux(at)terresinovia.fr</a>

If I set another value, for example :

config.spamProtectEmailAddresses = -2

it works as expected : encryption + JS.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.