Project

General

Profile

Actions

Bug #78526

closed

Wrong cHash calculation when url aliases are used with $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashIncludePageId']

Added by Helmut Hummel about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-11-01
Due date:
% Done:

100%

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

Description

Since #76462 the page ID is included in cHash calculation.
However when using page aliases, the alias is used instead of the page uid

Steps to reproduce:

  1. Make sure $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashIncludePageId'] is set to true
  2. Create a page and give it an alias foobar
  3. Add the following TypoScript:
page.1 = TEXT
page.1.value = Cache Hash Link
page.1.typolink.parameter = foobar
page.1.typolink.additionalParams = &foo=bar
page.1.typolink.useCacheHash = 1

Expected behavior

The link works

Actual behavior

cHash mismatch error


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #78021: cHashIncludePageId and links to the domain with parameters failClosed2016-09-21

Actions
Actions #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50468

Actions #2

Updated by Helmut Hummel about 8 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50574

Actions #4

Updated by Anonymous about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50577

Actions #6

Updated by Anonymous about 8 years ago

  • Status changed from Under Review to Resolved
Actions #7

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50657

Actions #8

Updated by Anonymous about 8 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF