Issue Bug Closed

#21402spamProtectEmailAdresses does not encrypt:decrypt 1:1

Morten Nisker 10/29/09, 14:41 updated 09/10/13, 08:54

Description

There is a problem with spamProtectEmailAdresses. If you add a subject to a mail link, some chars can break the javascript and if the problematic chars are URL encoded they are not always decrypted to the same char.

Example.
a subject added to the mailto link

mailto:xxxx@xxxx.com?subject=Regarding the page: Morten’s test page
the ‘ char will break the javascript.
If I then urlenocde the string so I have the following:
mailto:xxxx@xxxx.com?subject=email%20emne Morten%27s%20test%20page

I end up with something like this in my mail client:
Regarding@the@Page@MortenGs@test@page

I think there are two bugs here, one is that the generated script does not URL encode by it self and second that is does not decode correctly.
(issue imported from #M12395)

Reviews 0

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