[TYPO3-core] RFC #15911: Bug: jumpurl.secure fails if no mimeTypes are set
Reinhard Führicht
rf at typoheads.at
Wed Oct 6 11:14:24 CEST 2010
Hi,
it seems all my changes are included in the latest revision 8991.
So this bugfix seems to be obsolete now.
Regards,
Reinhard
Am 2010-10-06 10:52, schrieb Reinhard Führicht:
> Hi
>
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker reference: http://bugs.typo3.org/view.php?id=15911
>
> Branches: trunk,4.4
>
> Problem:
>
> When creating a filelink without setting "mimeTypes", the juHash
> comparison never matches.
>
> TYPO3 shows the following error message:
> jumpurl Secure: Calculated juHash did not match the submitted juHash.
>
> Solution:
>
> Initialize the variable $mimetypeValue as an empty string in
> tslib_content before calculating the juHash.
>
> Steps to reproduce:
>
> - Use a simple TypoScript like this to generate a filelink.
>
> page.1 = TEXT
> page.1.field = media
> page.1.filelink {
> path = uploads/media/
> jumpurl = 1
> jumpurl {
> secure = 1
> }
> }
>
> - Add a file in the media field of a page
> - Click the generated link in Frontend
> - This will let TYPO3 crash will the following error:
>
> jumpurl Secure: Calculated juHash did not match the submitted juHash.
>
> Notes:
>
> - This behavior was introduced in TYPO3 4.4.3 with the fix of 0015531
> (http://bugs.typo3.org/view.php?id=15531).
>
> - I additionally changed 2 lines in tslib_fe to reuse existing variables
> instead of calling t3lib_div::_GP again.
>
> Regards,
> Reinhard
More information about the TYPO3-team-core
mailing list