[TYPO3-core] FYI72: #15531: jumpurl check fails if mime type is not known
Dmitry Dulepov
dmitry at typo3.org
Thu Sep 9 11:13:31 CEST 2010
Hi!
This is SVN patch request.
Type: bug
Branches: 4.3, 4.4, trunk
BT reference: http://bugs.typo3.org/view.php?id=15531
Problem: if TYPO3 cannot get mime type of the file, jumpurl checks will
fail. This happens because TYPO3 calculates hashes differently: it
serializes the mime type as null but when it checks, it expects empty
string. Obviously the check fails.
Solution: make a type cast.
--
Dmitry Dulepov
TYPO3 core&security team member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15531.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100909/f242dbff/attachment.asc>
More information about the TYPO3-team-core
mailing list