Project

General

Profile

Actions

Bug #24311

closed

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

Added by Jeff Segars almost 14 years ago. Updated over 13 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
Actions

Also available in: Atom PDF