Project

General

Profile

Actions

Bug #22282

closed

t3lib_tceforms::getIcon() doesn't check getimagesize() problems with "../" in path

Added by Tolleiv Nietsch over 14 years ago. Updated over 14 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In certain situations - if a skin is present - the icon path might contain a "../", unfortunately getimagesize() doesn't really support these. Therefore t3lib_tceforms::getIcon() already contains some parts where the relative path is resolved. There's on part missing and therefore certain icons don't appear with the right dimensions in the backend (see screen).

The attached patch resolves that.

(issue imported from #M13819)


Files

15.03.png (10.4 KB) 15.03.png Administrator Admin, 2010-03-15 16:20
13819.patch (801 Bytes) 13819.patch Administrator Admin, 2010-03-15 17:13

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #22079: wrong image-path returned in class.t3lib_tceforms.php if TYPO3-source is symlinked (backend-redesign)Closed2010-02-08

Actions
Actions #1

Updated by Tolleiv Nietsch over 14 years ago

argh ... just found that this (which was on my todo-list for some time) is already resolved in trunk - maybe someone could close this issue - it's not relevant anymore ...

Actions

Also available in: Atom PDF