[TASK] EXT:form - Optimize file upload/ handling of files 36/43836/4
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Tue, 6 Oct 2015 08:34:01 +0000 (10:34 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 8 Oct 2015 20:37:07 +0000 (22:37 +0200)
commitca07015b284d64db4231d57ff2a6d5dece9f8e6f
tree5d4ec820453250b91f5908b48405e8ad5ef1e73d
parent4f571f9afe3eafbc5352f93b8f76b7635ac21aeb
[TASK] EXT:form - Optimize file upload/ handling of files

Determine the file mime type with \TYPO3\CMS\Core\Type\File\FileInfo
before a validation or other operations with the files are made.

Resolves: #69956
Releases: master
Change-Id: Iac0381b9847b82dfa7bc7a78f970c91ce51d4272
Reviewed-on: http://review.typo3.org/43836
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
12 files changed:
typo3/sysext/form/Classes/Domain/Property/TypeConverter/ArrayToValidationElementConverter.php
typo3/sysext/form/Classes/Domain/Validator/FileAllowedTypesValidator.php
typo3/sysext/form/Classes/Domain/Validator/ValidationElementValidator.php
typo3/sysext/form/Classes/Hooks/HandleIncomingFormValues.php
typo3/sysext/form/Classes/PostProcess/MailPostProcessor.php
typo3/sysext/form/Classes/Utility/SessionUtility.php
typo3/sysext/form/Resources/Private/Partials/Compatibility/Confirmation/FlatElements/Upload.html
typo3/sysext/form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Html/FlatElements/Upload.html
typo3/sysext/form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Plain/FlatElements/Upload.html
typo3/sysext/form/Resources/Private/Partials/Default/Confirmation/FlatElements/Upload.html
typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Html/FlatElements/Upload.html
typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/FlatElements/Upload.html