Actions
Bug #17109
closedimages with uppercase file extension aren't displayed in drag-n-drop listing
Start date:
2007-03-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
images in drag-n-drop listing are not displayed whenever the file extension is not lowercase.
example:
/folder/
a.gif
b.png
c.jpg
d.GIF <<-- won't be displayed in the RTE drag-n-drop listing.
it boils down to a bug in class.browse_links.php, where t3lib_div::inList('gif,jpeg,jpg,png',$fI['extension'])) is called without strtolower() on the file extension.
solution is simple: use strtolower when checking whether the file extension is in the list.
(issue imported from #M5189)
Files
Updated by Michael Stucki about 17 years ago
Please attach a diff in the "unified" format. See http://typo3.org/teams/bug-fixing/diff-and-patch/
Actions