[TASK] Prevent thumbnail generation for non image files 07/53107/6
authormaikh <typo3@hagenbruch.info>
Sat, 3 Jun 2017 21:33:01 +0000 (23:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 4 Jun 2017 08:59:02 +0000 (10:59 +0200)
commit675852a229956a5c5523479df4812ab385e7f884
tree0e698dc73b380806edc33f3b7d04a2d9b6d673b7
parent55a45ee6d8f26a14826c25ac787ede49aeef184b
[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/53107
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Tested-by: Jo Hasenau <info@cybercraft.de>
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