Bug #79881
closedFile list breaks on SVG files with invalid XML
100%
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.
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51735
Updated by Gerrit Code Review about 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51735
Updated by Gerrit Code Review almost 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51735
Updated by Gerrit Code Review almost 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51735
Updated by Gerrit Code Review almost 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51735
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54828
Updated by Anonymous over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8275f3af5fae2642da39dbc23ecedbeb3eb98470.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54829
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54828
Updated by Christian Kuhn over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset ba19b86902f1e8f30d164df332afc326164337bf.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 3 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54828
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54828
Updated by Anonymous over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset 1d63c773f61382faa8c939b1325270ad745a0db1.