Issue Task New Orphaned

#91703Add configuration guard for ambiguous literals in route paths

Oliver Hader 06/23/20, 23:57 updated 08/02/23, 13:05

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[TASK] Add configuration guard for ambiguous literals in route paths Resolves: #91703 Releases: main