Project

General

Profile

Actions

Task #91702

open

Bug #91098: Routing and RouteEnhancer problems

Evaluate possibility for optional route parts

Added by Oliver Hader almost 4 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

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.

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