Project

General

Profile

Actions

Bug #99217

open

Pagetypes not working with trailing Slashes if default PageTypeSuffix is set

Added by Oliver Krammer over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-11-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I use Pagetypes for Ajax Calls then this example Url work:

dasisteine/url?mitparement=1&type=93939

and that will not work
dasisteine/url/?mitparement=1&type=93939

i debugged thru the code and found that this
https://github.com/TYPO3/typo3/blob/1b0fea17a5591de55e9c49ca3dd563d8cb95c245/typo3/sysext/core/Classes/Routing/Enhancer/PageTypeDecorator.php#L[…]18
will set the Type to 0 because in my site config i have set this:

PageTypeSuffix:
  type: PageType
  default: /
  suffix: /
  index: ''
  map:
    /: 0

But i think that ist wrong. If i have an Parameter set with type i want to use this and not the default…

No data to display

Actions

Also available in: Atom PDF