[TYPO3-core] RFC: #3961, exclude files from TER upload / T3X files
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Dec 13 17:37:44 CET 2006
Karsten Dambekalns schrieb:
> Hi.
>
> On 13.12.2006, at 09:47, Martin Kutschker wrote:
>
>> I'm cursious why it's "!$extensionList" but "!strlen ($excludePattern)".
>> Both checks should be the same and to me in both cases a mere "!$x"
>> seems
>> to be sufficient.
>
>
> Because the !$extensionList was there already and I didn't touch it.
> The !strlen(...) is new and uses a more strict way of checking. If one
> really wanted to exclude files named '0' it will not work, as !$a is
> true for $a='0'. Seems far-fetched, but you never know what people come
> up with.
>
> If you like I can change the !$extensionList to !strlen ($extensionList)...
Please do so when youo commit this. If you count Dmitry's older +1 - for
the broken version ;-) - you have now two +1.
Masi
More information about the TYPO3-team-core
mailing list