Bug #93607
openProblematic cHash handling by TYPO3
0%
Description
Contrary to TYPO3 8, it's not possible to disable the cHash on a per page basis any more in TYPO3 9/10 and if the cHash is wrong, TYPO3 returns an error page instead of serving the page content without creating a cache entry.
Problem:
When redirecting in a shop to external payment servers at the end of the checkout, the payment providers will redirect the customer back to the shop after they processed the payment. These redirects will contain additional parameters rendering the cHash invalid and TYPO3 returns an error page. Current workaround is to remove the cHash from the URLs manually with the regex to avoid errors.
Updated by Oliver Hader about 2 years ago
- Category changed from Caching to Site Handling, Site Sets & Routing
- Sprint Focus set to On Location Sprint
Updated by Oliver Hader about 2 years ago
- Subject changed from Problematic cHash handling by TPYO3 to Problematic cHash handling by TYPO3
Updated by Oliver Hader about 2 years ago
- Status changed from New to Needs Feedback
- Tags changed from url, chash, external server, redirect to pending-close
cHash
is added automatically, in case provided URL params cannot be mapped statically. The result can be adjusted by either
- using "aspect mappers" for those variables in a route, see https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Routing/AdvancedRoutingConfiguration.html#aspects, or
- excluding those URL params from
cHash
calculation, see https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/CachingFramework/Index.html#confval-excludedParameters
Aspect mappers can be configured per page (with their enhancer config section), but the cacheHash.excludedParameters
setting is applied globally.
Updated by Aimeos no-lastname-given about 2 years ago
- Tags deleted (
pending-close)
Both doesn't help because the parameters sent by the various payment gateways are not known upfront.
Neither aspect mappers nor excludes does help in that case, only entirely removing the cHash from the URL that is used by the payment gateways to redirect the customer back to the TYPO3 page.
Updated by Aimeos no-lastname-given about 2 years ago
- Assignee set to Oliver Hader