[TYPO3-core] JS escape() and unescape() deprecated
Markus Klein
klein.t3 at mfc-linz.at
Fri Feb 7 20:52:13 CET 2014
As far as I could see it should suffice to simply replace the function.
But it needs some thoughts with which function we replace.
encodeURI and encodeURIComponent have different scope.
Typical usage of encodeURI:
var theUri = encodeURI('http://example.com/the_special[URL].php?id=asdf[foo]=bar');
Typical usage of encodeURIComponent:
var addParam = '&asdf[foo]=' . encodeURIComponent('magic<value>with "special" chars & some bar');
Kind regards
Markus
------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member
> -----Original Message-----
> From: typo3-team-core-bounces at lists.typo3.org [mailto:typo3-team-core-
> bounces at lists.typo3.org] On Behalf Of Philipp Gampe
> Sent: Friday, February 07, 2014 7:41 PM
> To: typo3-team-core at lists.typo3.org
> Subject: Re: [TYPO3-core] JS escape() and unescape() deprecated
>
> Hi Markus,
>
> Markus Klein wrote:
>
> > We've quite some usages of the two functions in the Core.
> > Should we consider replacing the functions for 6.2?
>
> Can we just replace the functions or does the code needs adaptions too?
>
> Best regards
> --
> Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln Documentation
> – Active contributor TYPO3 CMS
> TYPO3 .... inspiring people to share!
>
> _______________________________________________
> Before posting to this list, please have a look to the posting rules on the
> following websites:
>
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core
More information about the TYPO3-team-core
mailing list