[BUGFIX] Make it possible to add cHash to preview links 64/50264/21
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 18 Oct 2016 13:54:39 +0000 (15:54 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Wed, 3 Jan 2018 19:19:18 +0000 (20:19 +0100)
commit0aa5f2b4969fb8daea1fc6a61c675b267f839bb3
tree8a9d9f80a7c27331b17f4ab26a2a7a289bf2564f
parent3cf9f794c5ef1abaac5d4430d6c254d27ff6c413
[BUGFIX] Make it possible to add cHash to preview links

It must be possible to generate preview URLs with a cHash, e.g. to
display records using Extbase which enforces cHash usage.

Introduce a new option "useCacheHash" which triggers cHash calculation.
If not specified, the "no_cache" parameter is added just like before.

Resolves: #78336
Resolves: #81297
Releases: master, 8.7
Change-Id: I225e2b8b4355022e7b4f6866c989b707e526e389
Reviewed-on: https://review.typo3.org/50264
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/core/Documentation/Changelog/8.7.x/Important-78336-GeneratePreviewLinksWithAChash.rst [new file with mode: 0644]