Bug #21402
closedspamProtectEmailAdresses does not encrypt:decrypt 1:1
0%
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)