[BUGFIX] Make it possible to add cHash to preview links 55/55255/3
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 18 Oct 2016 13:54:39 +0000 (15:54 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 11 Jan 2018 08:00:33 +0000 (09:00 +0100)
commitc3e9b275bbe0422d77b8b01b5085f1662545d37a
treee6ceda7e731a6fdd90f7e501e8ac479445d774ed
parent17136ee9f2bfc29268b1676a56f96eb6d97b59aa
[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/55255
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/core/Documentation/Changelog/8.7.x/Important-78336-GeneratePreviewLinksWithAChash.rst [new file with mode: 0644]