Project

General

Profile

Actions

Bug #22788

closed

Make sure that cHash is the same regardless of parameter order

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

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Currently the foillowing two URLs will produce different cHashes:
/index.php?id=123&param1=1&param2=2
/index.php?id=123&param2=2&param1=1

This is incorrect because cHash is about parameters, not about their order.

(issue imported from #M14591)


Files

14591.diff (495 Bytes) 14591.diff Administrator Admin, 2010-06-02 14:29

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17070: typolink: cHash corrupted due to linkVarsClosedDmitry Dulepov2007-03-02

Actions
Actions #1

Updated by Popy no-lastname-given over 14 years ago

As I said on the mailing list, this patch doesn't solve anything : the ksort you've added is already present at the end of the t3lib_div::cHashParams.

I'm convinced the generated cHash is identicall for your example.

Actions #2

Updated by Dmitry Dulepov over 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Resolved
  • Priority changed from Should have to Won't have this time
  • Target version deleted (0)
  • TYPO3 Version changed from 4.4 to 6.2

Not relevant any more.

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF