Bug #24311

TCEForms->getIconHTML() does not resolve back paths before checking static files

Added by Jeff Segars over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-12-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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.

(issue imported from #M16703)


Files

Before.png (3.44 KB) Before.png Administrator Admin, 2010-12-08 21:59
After.png (3.35 KB) After.png Administrator Admin, 2010-12-08 21:59
16703.diff (679 Bytes) 16703.diff Administrator Admin, 2010-12-08 22:00
#1

Updated by Jeff Segars over 10 years ago

Fixed in r9829.

#2

Updated by Susanne Moog about 10 years ago

  • Target version deleted (4.5.0)

Also available in: Atom PDF