Project

General

Profile

Actions

Bug #23428

closed

jumpurl check fails if mime type is not known

Added by Dmitry Dulepov over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-08-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If mime type of the file is not known, juHash will be calculated with a mime type as empty string. The 'mimetype' request variable will not be added to the command line.

Next, when TSFE checks the juHash, it will call t3lib_div::_GP('mimetype') and get NULL. Next it will calculate juHash with NULL instead of empty string and therefore produce a wrong juHash value.

As a result, comparison of jumtpurl hashes will fail.

(issue imported from #M15531)


Files

15531.diff (591 Bytes) 15531.diff Administrator Admin, 2010-08-23 12:41
Actions

Also available in: Atom PDF