Task #91703

Bug #91098: Routing and RouteEnhancer problems

Add configuration guard for ambiguous literals in route paths

Added by Oliver Hader 18 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-06-23
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

routePath: '/{value__value}/{other__}'
_arguments:
  value__value: 'value/value'
  other__: 'other__'

Given URL parameters would look like &value[value]=a&other__=b.
Literal __ using as delimiter in VariableProcessor, see https://github.com/TYPO3/TYPO3.CMS/blob/9.5/typo3/sysext/core/Classes/Routing/Enhancer/VariableProcessor.php#L24

  • add test-cases for those scenarios
  • adjust implementation, add guards based on findings

Also available in: Atom PDF