[TYPO3-dev] FYI: RemoveXSS from 4.2 will be incompatible with PHP 5.2.9

Dmitry Dulepov dmitry at typo3.org
Sun Mar 22 10:09:36 CET 2009


Hi!

Xavier Perseguers wrote:
> In trunk this class has been quite a lot rewritten but in branch 4.2 it
> is defined as this:
> 
> class RemoveXSS {
> 
>     function RemoveXSS($val) {
>         // code snipped
>     }
> 
> }

Well, it is clearly a error because the function with the same name as class name is its constructor :) I wonder why it worked before :)

-- 
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html




More information about the TYPO3-dev mailing list