Task #91702

Bug #91098: Routing and RouteEnhancer problems

Evaluate possibility for optional route parts

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

The following would lead to URL parameters like &value=abc&optional=

routerPath: '{value}/{optional}'
defaults:
  optional: ''

The desired behavior would be to not expose the URL parameter optional at all, thus only having &value=abc.

routerPath: '{value}/{optional}'
defaults:
  optional: null

This example is untested - in case it works already, cool.

Also available in: Atom PDF