Project

General

Profile

Actions

Bug #22368

closed

wrong image dimension returned if alternative logo is set and skin-extension is installed in global-space (backend-redesign) #2

Added by Stephan Kellermayr over 14 years ago. Updated about 11 years ago.

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

0%

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

Description

problem:
if an alternative TYPO3-logo is set in $GLOBALS['TBE_STYLES']['logo'] and a skin-extension is installed in 'typo3/ext/' (globally), the file 'typo3/backend.php' does not check the image-dimensions. instead it outputs the alternative image with the size of the default logo.

solution:
just remove the substring-check '../', resolve the backpath to the alternative logo-file and always run through 'getimagesize'.

and i am sorry, i dont know where this function is actually used (maybe it is deprecated?), so i dont know how to test it, because the logo-image on the upper left is processed by 'typo3/classes/class.typo3logo.php'.
...BUT: the file 'typo3/backend.php' just contains the same issue as reported in http://bugs.typo3.org/view.php?id=13985

(issue imported from #M13988)


Files

backend.php.0013988.diff (1.01 KB) backend.php.0013988.diff Administrator Admin, 2010-04-01 10:13

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22366: wrong image dimension returned if alternative logo is set and skin-extension is installed in global-space (backend-redesign)ClosedSteffen Kamper2010-03-31

Actions
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF