[TYPO3-core] FYI24: Bug #16703: TCEForms->getIconHTML() does not resolve back paths before checking static files
Susanne Moog
typo3 at susannemoog.de
Fri Dec 17 12:12:07 CET 2010
On 08.12.2010 22:04, Jeff Segars wrote:
> Hey guys,
>
> The following SVN patch request will be committed in 24 hours if no one
> objects.
>
> Type: Bugfix
> Bugtracker reference: http://bugs.typo3.org/view.php?id=16703
> Branch: trunk
>
> Problem:
> TCEForms->getIconHTML() returns the HTML for a static image file or a
> sprite icon. When checking for a static image file, the back path is not
> resolved before calling is_file() so references such as
> "../uploads/path/to/my/file.png" will fail.
>
> This is most easily reproduced with TemplaVoila and preview icons for
> Data Structures and Template Objects.
>
> Solution:
> Let t3lib_div::resolveBackPath process the path before we check if it is
> a file.
your 24h are over, want to commit? ;)
--
What's worth the price is always worth the fight
Every second counts 'cause there's no second try
TYPO3 Core Team Member
More information about the TYPO3-team-core
mailing list