Bug #90973
closedcHash is generated with useCacheHash = 0
0%
Description
The page router does not check if the configuration of useCacheHash = 0. Always a cHash is generated and added to the url. This causes a problem with an Ajax call, because it causes an error with the cHash resolution:
*Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1518472189: Request parameters could not be validated (&cHash comparison failed) *
Therefore I always turn the cHash configuration off for a Ajax url with eID parameter set, and as well no_cache=1.
Files
Updated by Franz Holzinger over 4 years ago
- File patch-90973.diff patch-90973.diff added
This patch does not add the cHash parameter by default. Only when useCacheHash has been set to 1 in the typolink call, the cHash paramter is generated. This has been the behaviour from all former versions of TYPO3.
Updated by Benjamin Robinson over 4 years ago
I just failed to rewrite a TypoScript generated GET parameter with a routEnhancer without appending a cHash ( Code-Example at Stack Overflow ). Could this be related to this bug?
Updated by Franz Holzinger about 4 years ago
Ben Robinson, yes, I assume that every link which is wrongly generated without the cHash parameter in TYPO3 9.5 has to do with this issue. After all this could be the reason for this misbehaviour.
Updated by Georg Ringer 6 months ago
- Status changed from New to Closed
see #91473 which dropped useCacheHash in v11. therefore closing the issue