Project

General

Profile

Actions

Bug #23296

closed

imagefile_ext is used too restrictive

Added by Georg Ringer over 13 years ago. Updated about 10 years ago.

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

0%

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

Description

$TYPO3_CONF_VARS['GFX']['imagefile_ext'] is used to limit the allowed files for image handling. It is used too restrictive. Images which are included via TS are also not handled which is leading to the following major problem:

If set to 'png' and using TS to include a jpg file, the image dimensions are not calculated, leading to the attributes width="" and height="" or even not rendering the image itself.

IMO removing the checks is the best solution as imagefile_ext is used in tceforms anyway to prohibit editors to use not allowed image files.

How to test:
1.) Set $TYPO3_CONF_VARS['GFX']['imagefile_ext'] = 'png';
2.) Use a TS like
----
page.10 = IMAGE
page.10.file = fileadmin/dummy.jpg
-----
3.) See the wrong output
4.) Apply patch and recheck.
(issue imported from #M15278)

Actions #1

Updated by Alexander Opitz over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz about 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF