Project

General

Profile

Actions

Task #91703

open

Bug #91098: Routing and RouteEnhancer problems

Add configuration guard for ambiguous literals in route paths

Added by Oliver Hader over 3 years ago. Updated 8 months ago.

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

0%

Estimated time:
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
Actions #1

Updated by Oliver Hader over 1 year ago

  • Assignee set to Oliver Hader
  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Benni Mack 8 months ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF