[BUGFIX] Cast file resource pointer in UploadFileReferenceConverter 11/58911/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 7 Nov 2018 21:39:40 +0000 (22:39 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 19 Nov 2018 08:11:39 +0000 (09:11 +0100)
commit070c50676c5e89789345a9adbdc8193b9ce9a83c
tree85fc8667b0954323966a60b280f6846804dc1fba
parentd7dc71685b33a31a95f94f0bd9024066619c15ce
[BUGFIX] Cast file resource pointer in UploadFileReferenceConverter

The return value of the hmac check is a string and must be casted to
an integer as the method using the value requires an integer.

Resolves: #86878
Releases: master, 8.7
Change-Id: Ic6db911c213eb668141ba0c849ff8a627a6f94dc
Reviewed-on: https://review.typo3.org/58911
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php