Project

General

Profile

Actions

Bug #88370

closed

Extbase detail view URL call breaks by attaching params from [FE][cacheHash][excludedParameters] if page is uncached

Added by Michael Hitzler almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
Start date:
2019-05-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Having an extbase EXT with a list and detail view I use a routeEnhancer which basically uses the record ID as a the path segment. e.g. products/42 to show product with die ID 42 in detail view. This is working fine. We do have a TYPO3 setting [FE][cacheHash][excludedParameters] which comes with some presets such as "utm_source" in order to ignore external tracking parameters.
Now if I call my product details page via products/42?utm_source=XYZ I get an error 404 (Request parameters could not be validated (&cHash empty)) in uncached state but it's working fine as soon as the page is in cache.
So to me it seems that event as marked as excluded those params are taking into account for routing on uncached pages.

To easily reproduce just take EXT: news with its default routeEnhancer. Make sure the page is generall cachable.
Then call any news detail URL by appending ?utm_source=XYZ and you will get an error
call it again without ?utm_source=XYZ and the detail news will be displayed (an page will be cached)
call it again with ?utm_source=XYZ and the detail news will be displayed (as page is coming from cache and thus ignores this param correctly)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87845: cacheHash.excludedParameters will be ignore when Enhancer is calledClosed2019-03-05

Actions
Actions #1

Updated by Grigory Rechkin almost 5 years ago

  • Related to Bug #87845: cacheHash.excludedParameters will be ignore when Enhancer is called added
Actions #2

Updated by Benni Mack over 4 years ago

  • Status changed from New to Closed

Thank your for report.

Should be fixed with: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60296

Will be added in the next v9.5 release.

Actions

Also available in: Atom PDF