[TYPO3-core] RFC #14845: Bug: Filelist module reports "type" of files also for directories

Andreas Lappe nd at off-pist.de
Fri Jun 25 10:04:26 CEST 2010


On 25.06.10, Andy Grunwald [wmdb] wrote:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14845
> 
> Branches:
> TYPO3_4-3, TYPO3_4-4 & trunk
> 
> Problem:
> If a directory is called "mydir.com"
> the type column shows COM as its file type!
> 
> it should show nothing
> 
> Solution:
> Add a check if the incomming file is really a file
> 
> Notes:
> I`ve created a unit test to avoid this bug, too.
> The original patch is from "Caspar Stuebs".
> I`ve modified this to match coding guidelines.
> 
> Best regards,
> Andy

+1 from reading and testing

Andy

-- 
``[...], there is no such thing as Objective Journalism. The phrase
  itself is a pompous contradiction in terms.´´
			-Hunter S. Thompson in
			 ``Fear and Loathing on the campaign trail '72´´


More information about the TYPO3-team-core mailing list