[TYPO3-core] RFC: #3961, exclude files from TER upload / T3X files

Karsten Dambekalns karsten at typo3.org
Wed Dec 13 17:22:38 CET 2006


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 

Karsten Dambekalns
Gimme Five!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 304 bytes
Desc: This is a digitally signed message part
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061213/a2ab6ad2/attachment.pgp 

More information about the TYPO3-team-core mailing list