[TYPO3-core] unescape(\''.rawurlencode($value).'\') still needed?

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Oct 8 18:08:43 CEST 2006


In the Core there are a few such statements like above? AFAIK this code 
was used in the old days to prevent JS problems with accented 
characters. But none of the currently supported browsers needs this.

Can we remove this stuff to clean our JS code?

There are also some confirm(String.fromCharCode(...)) code parts that 
seem to use fromCharCode for the same reason. At least I don't get it 
why usy_checkLoginTimeout_timer() in alt_main.php has it instead of 
simply supplying a plain string to confirm().


More information about the TYPO3-team-core mailing list