[TYPO3-core] RFC #16216 Bug: taskcenter - wrongly created path for icon (in certain conditions)
Kevin Ulrich Moschallski
km at 3digit.de
Fri Nov 26 14:26:23 CET 2010
+1 by reading and testing
Regards,
Kevin
On 2010-11-02 11:37:41 +0100, Krystian Szymukowicz said:
>
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix, almost nobrainer
>
> BT reference: http://bugs.typo3.org/view.php?id=16216
>
> Branches: 4_4, trunk
>
>
> PROBLEM:
> The path for icon in taskcenter is created wtih:
> $icon = $GLOBALS['BACK_PATH'] . '../' . str_replace(PATH_site, '',
> $absIconPath);
>
> There are some edge situations when the PATH_site is equal to "/". In
> that case the backslash from icon path will be removed and such path of
> icon generated:
> http://example.com/typo3sysextsys_actionx-sys_action.png
>
> SOLUTION:
> Check if PATH_site is "/"
More information about the TYPO3-team-core
mailing list