Project

General

Profile

Actions

Bug #21402

closed

spamProtectEmailAdresses does not encrypt:decrypt 1:1

Added by Morten Nisker about 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-10-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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:?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:?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)

Actions

Also available in: Atom PDF