[TYPO3-core] RFC: #7350:PHP5ize class.t3lib_div.php

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Feb 3 20:45:42 CET 2008


Ingo Renner schrieb:
> Martin Kutschker wrote:
> 
>> It was there before. The old code had a trim() before doing the match. 
>> I'm not sure if any white space before the prologue is allowed (I 
>> think not), but I think it's better to be a bit relaxed in what we 
>> accept as input.
> 
> whitespace is not allowed IMO. XML specification also says that an 
> interpreter should abort on error instead of trying to handle 
> not-welformed XML.

We can change the behaviour but not that in 4.1 (and before) the 
function allowed for whitespace!

So Michael and Ingo, if you think this should be changed, go ahead.

Masi


More information about the TYPO3-team-core mailing list