Project

General

Profile

Actions

Bug #88070

closed

URL with extbase action and additional query string throws error using route enhancer

Added by Chris Müller about 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-04-04
Due date:
% Done:

0%

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

Description

I have a page that shows a single record of an extbase action, e.g. the URL is /job/developer/. job is the slug of the page with the plugin and developer is the path segment for the route enhancer aspect.

When I call this URL the content is shown correctly. Now I add a query string like ?utm_campaign=google_jobs_apply and get a cHash validation error (results in a 404 page, $GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError'] is set to true). utm_campaign is whitelisted in $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'].

I tracked it down to TypoScriptFrontendController->reqCHash(). In the first case $this->pageArguments->getDynamicArguments() is empty, so the further processing of the method is skipped. In the second case with the query string the dynamic arguments are not empty (filled with utm_campaign) which results in the further processing of the method and throws an exception.

When I disable the route enhancer the extbase query strings with chash are working correctly with additional utm parameters.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #87845: cacheHash.excludedParameters will be ignore when Enhancer is calledClosed2019-03-05

Actions
Actions #1

Updated by Grigory Rechkin about 5 years ago

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

Updated by Helmut Hummel over 4 years ago

  • Status changed from New to Closed

Closed as duplicate

Actions #3

Updated by Helmut Hummel over 4 years ago

  • Related to deleted (Bug #87845: cacheHash.excludedParameters will be ignore when Enhancer is called)
Actions #4

Updated by Helmut Hummel over 4 years ago

  • Is duplicate of Bug #87845: cacheHash.excludedParameters will be ignore when Enhancer is called added
Actions

Also available in: Atom PDF