Actions
Bug #79881
closedFile list breaks on SVG files with invalid XML
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2017-02-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
On Location Sprint
Description
When the File list tries to read information from an SVG file that has no valid XML inside the modules breaks for that directory.
This is because ImageInfo uses simplexml_load_string and does not check for it's return type.
Error:
Uncaught TYPO3 Exception Call to a member function attributes() on boolean Error thrown in file /html/vendor/typo3/cms/typo3/sysext/core/Classes/Type/File/ImageInfo.php in line 94.
Actions