[TYPO3-core] RFC #15133: Bug: Rendering Images with ImageMagick fails in case of file-permissions
Alexander Grein
ag at mediaessenz.eu
Fri Oct 1 15:46:37 CEST 2010
Am 28.07.10 10:28, schrieb Jigal van Hemert:
> Alexander Grein wrote:
>> Problem: If an image goes thru an image manipulation routine using
>> GD-Lib or ImageMagick, the file permission of this generated picture
>> (using t3lib_div.fixPermissions) will not be set correctly. So
>> manipulated images will not be shown in frontend (depending on server
>> settings).
>>
>> The Problem is the new version of fixPermission in t3lib_div with the
>> new line (3001):
>> if (self::isAllowedAbsPath($path))
>> This inquiry is always false in case of the given path contains a
>> generated images (because the path is not absolute)
>
> t3lib_div::fixPermissions() requires to be called with an absolute path,
> so the real solution IMO would be to call it with an absolute path.
>
> -1 for this solution
>
Another solution is to fix this in class.t3lib_stdgraphic.php
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_15133_v2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101001/d58c8bfc/attachment.txt>
More information about the TYPO3-team-core
mailing list