Bug #24311

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

Added by Jeff Segars almost 9 years ago. Updated over 8 years ago.

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

0%

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)

Before.png View (3.44 KB) Administrator Admin, 2010-12-08 21:59

After.png View (3.35 KB) Administrator Admin, 2010-12-08 21:59

16703.diff View (679 Bytes) Administrator Admin, 2010-12-08 22:00

History

#1 Updated by Jeff Segars almost 9 years ago

Fixed in r9829.

#2 Updated by Susanne Moog over 8 years ago

  • Target version deleted (4.5.0)

Also available in: Atom PDF