[TYPO3-core] RFC #8130: Bug: addService() working with open_basedir and symlink

Xavier Perseguers typo3 at perseguers.ch
Fri Apr 18 08:12:01 CEST 2008


This is an SVN patch request.

Type:
Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=8130

Branches:
TYPO3_4-2 & trunk

Problem:
When trying to use extensions calling the API addService() -- such as
dam_index -- external tools which are located in a directory present in
PHP's open_basedir list are not reported as existing if they are
symbolic links pointing to a directory outside the open_basedir restriction.

Solution:
The patch takes care of finding out if open_basedir is used and if so,
assumes that the administrator knows what he did and returns true for
any external tool located as a direct child of a directory listed in
open_basedir PHP configuration's property.

Regards

-- 
Xavier Perseguers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_exec.patch
Type: text/x-patch
Size: 918 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080418/068fc14c/attachment.bin 


More information about the TYPO3-team-core mailing list