[TYPO3-core] RFC #2661: stdWrap filelist doesn't work directly in fileadmin/

Ingmar Schlecht ingmar at typo3.org
Fri Jul 25 16:32:12 CEST 2008


Reviewed & tested, +1.

IMHO a no-brainer, so go commit.

cheers
Ingmar

Benjamin Mack schrieb:
> Hey all,
> 
> this is a SVN patch request.
> 
> Branches: 4.2 and trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=2661
> 
> Problem:
> If you try to create a filelist for files located directly in fileadmin 
> it wont work.
> 
> Reason:
> - a / is automatically added to TSFE->lockFilePath
> and clean_directory() removes the trailing / from the path given to 
> filelist.
> 
> Therefore the comparison in class.tslib_content.php on line 3290
> (function filelist) fails.
> 
> 
> Solution:
> Make a clean way to check for the lockFilePath.
> 
> Notes:
> Patch is against trunk, I will however provide a patch for 4.2 before 
> commiting.
> 


More information about the TYPO3-team-core mailing list