[BUGFIX] Bind the cHash to the id of the "real" page 84/50184/4
authorHelmut Hummel <info@helhum.io>
Tue, 11 Oct 2016 13:05:17 +0000 (15:05 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 12 Nov 2016 23:45:19 +0000 (00:45 +0100)
commit230dd44574afb1e33ceead8ff3130a99af21390b
tree9e415e68d59952a1111cafdbd1a37dca190dbd88
parent81d80f856954ff90ee0d9b3fd0fbb2feeeaf1816
[BUGFIX] Bind the cHash to the id of the "real" page

If a link to a mount point or a shortcut is created,
the id argument in the url points to the id of the real page,
where the mount or the shortcut points to.

This is why we need to take the id of the final page
to be hashed and not the one used to generate the link.

We also need to move cHash calculation below shortcut resolving.

Resolves: #78238
Releases: master, 7.6, 6.2
Change-Id: I96c4305c6d769a5851c17d6fdcba3cd7584fc3ec
Reviewed-on: https://review.typo3.org/50184
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php