[TASK] Prevent thumbnail generation for non image files 11/53111/2
authormaikh <typo3@hagenbruch.info>
Sat, 3 Jun 2017 21:33:01 +0000 (23:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 4 Jun 2017 09:23:10 +0000 (11:23 +0200)
commitbf07032d60dc7dfe5c470fd55af90c9f49fd8dae
tree7f25b2537a2b409ade92867f54daa08012d07a65
parent254d121a0694fd4fa432909abb7ae7c403bd8ab9
[TASK] Prevent thumbnail generation for non image files

Check files if they are image files before thumbnail generation.

Change-Id: I7dae2ccbb5ab93e582d21efe8f7d29cf7006a1c3
Resolves: #81147
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53111
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php