[TYPO3-core] RFC #9060: Wrong alert text in Constant editor

Martin Kutschker masi-no at spam-typo3.org
Wed Jul 30 14:14:20 CEST 2008


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> This is SVN patch request.
> 
> Branches: trunk
> 
> Type: bug with new functionality
> 
> BT reference: http://bugs.typo3.org/view.php?id=9060
> 
> Problem: if you edit a constant of "file" type in Constant editor and
> check the box near "copy" icon, you get a window as shown on the
> screenshot. It asks a question but provides only "OK" button.
> 
> Solution: Convert "alert" to "confirm" and reset the checkbox if user
> does not agree. Additionally move hardcoded question to the language file.

Why is the string rawurlencoded/unescaped? I don't think that we need
that. All new browsers can deal with arbitrary character sets in JS.

Masi

PS: Furthermore you'll run in the problem that escape will use %xx for
any characters in the latin1 range and %uxxxx for all other characters.


More information about the TYPO3-team-core mailing list