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

Benjamin Mack benni at typo3.org
Fri Aug 1 02:13:04 CEST 2008


Commited to TYPO3-4.2 (#3926) and trunk (#3925).

Thanks, ingmar.

Benjamin Mack wrote:
> 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.
> 

-- 
greetings,
benni.
-SDG-


More information about the TYPO3-team-core mailing list