[BUGFIX] Cast file resource pointer in UploadFileReferenceConverter 68/58868/3
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 07:52:11 +0000 (08:52 +0100)
commitc5f27f00dadf8d04727ef4a76abf620d94e1cd55
treefe9dd6340204cdb629f79ef67237f970bf42fb0c
parent271ef66b86a7af43562137f6a46c5f973c0c2cb2
[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/58868
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php