[TYPO3-core] FYI48: #12545: t3lib_div::linkThisScript isn't xhtml compatibel

Helmut Hummel helmut at typo3.org
Wed Nov 11 09:34:30 CET 2009


Hi Joey,

Am 10.11.09 23:03, schrieb JoH asenau:
>>
>> Anyway a string is either encoded or not. Your example has "mixed
>> content" and is therefore invalid.
>
> No it isn't ...
> ... well actually the string is, but the mixed content is not.

Yes it is.

> In many places strings are collected from different sources which might not
> be controlled by the core before they are used to create the URL,

If these strings are somewhere collected in core source code, it is a 
bug at these places in the core. If they're collected in a third party 
extension, it's a bug in this extension.

At least in case of this RFC, the parameters are collected form exactly 
one source, GET. The GET variables are imploded by & so no mixed content 
will occur here (please object if I miss something).

> but still
> the core has to make sure that the output IS valid.

Having entity encoded ampersands and not encoded GET variables is 
_invalid_ output.

Regards Helmut


More information about the TYPO3-team-core mailing list