Project

General

Profile

Actions

Bug #52156

closed

jumpurl.secure juHash error with URL encoded characters

Added by Alexander Stehlik over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2013-09-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

When an URL to file contains URL encoded characters like spaces or ampersands the juHash check will fail with this error (Exception code is 1294585196):

jumpurl Secure: Calculated juHash did not match the submitted juHash.

The reason for this failure is obvious:

The hash gets calculated with an URL encoded version of the link in:

\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::locDataJU()

Then the hash is checked against the non URL encoded version of the link in:

\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::jumpUrl()

My solution would be to URL decode the link before generating the hash. Any objections / other ideas?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #52806: FAL: getPublicUrl does not always return a valid URLClosedSteffen Ritter2013-10-14

Actions
Actions

Also available in: Atom PDF