[TYPO3-core] RFC: Bugfix #7425: syntax error in temp_CACHE*.php

Steffen Kamper steffen at sk-typo3.de
Mon Feb 18 12:13:41 CET 2008


"Ernesto Baschny [cron IT]" <ernst at cron-it.de> schrieb im Newsbeitrag 
news:mailman.1.1203331846.19346.typo3-team-core at lists.netfielders.de...
>
> How do you know that there aren't <?php and ?> in the ext_tables/localconf 
> files in extensions? It might be used somewhere. Either in some text 
> string (e.g. for writing some PHP file) or even to generate some output. 
> This:
>
> $string = '<?php echo Hi; ?>';
>
> will become this:
>
> $string = 'echo Hi;';
>
> with your patch. And this:
>
> ob_start();
> ?>
> This is my output
> <?php
> $string = ob_get_contents();
>
> will become:
>
> ob_start();
> This is my output
> $string = ob_get_contents();
>
> which is why I consider it too much to strip.
>
> Cheers,
> Ernesto

ok ok :-) i'm fine with your patch
It was only because i never saw usage of that before, but who knows what 
people like to write in their config file ...

vg  Steffen 




More information about the TYPO3-team-core mailing list