Project

General

Profile

Actions

Bug #92565

closed

Routing params are case-sensitive - but should not

Added by Anonymous over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-10-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

    FileDownloads:
        type: Extbase
        extension: FileDownloads
        plugin: File
        routes:
            -   routePath: '/filter4/{filter4}'
                _controller: 'File::list'
                _arguments:
                    filter4: demand/searchWord
        defaultController: 'File::list'
        defaults:
            filter4: ''

What went wrong?

Given search word is: Voting

https://project.ddev.site/de/downloadcenter/filter4/Voting?cHash=ae1db66ecc2d6aa2039c10af3dad337c

It leads to a 404 Not Found exception.

Given search word is: voting

https://project.ddev.site/de/downloadcenter/filter4/voting?cHash=7c1dccf4c3c3f9e3d68a29f7e5e209ed

Everything rocks.

Expected behaviour

Given search word is: Voting

https://project.ddev.site/de/downloadcenter/filter4/Voting?cHash=ae1db66ecc2d6aa2039c10af3dad337c

Everything rocks.

What I have tried (except making ext:realurl v9 compatible)

I tried to specify the requirements too - but no luck.

    FileDownloads:
        type: Extbase
        extension: FileDownloads
        plugin: File
        routes:
            -   routePath: '/filter4/{filter4}'
                _controller: 'File::list'
                _arguments:
                    filter4: demand/searchWord
        defaultController: 'File::list'
        defaults:
            filter4: ''
        requirements:
            filter4: '.*'

No change in behaviour.

I tried:

    FileDownloads:
        type: Extbase
        extension: FileDownloads
        plugin: File
        routes:
            -   routePath: '/filter4/{filter4}'
                _controller: 'File::list'
                _arguments:
                    filter4: demand/searchWord
        defaultController: 'File::list'
        requirements:
            filter4: '.*'

and

    FileDownloads:
        type: Extbase
        extension: FileDownloads
        plugin: File
        routes:
            -   routePath: '/filter4/{filter4}'
                _controller: 'File::list'
                _arguments:
                    filter4: demand/searchWord
        defaultController: 'File::list'

But both without any luck.

Applies to

TYPO3 9.5.22 (but I assume, it applies to v10 too)

Is it a regression?

I am quite sure this worked in < 9.5.13. But can't say for sure without actually testing.

Actions #1

Updated by Anonymous over 3 years ago

I AM SORRY

It's not a core issue. b13/justincase causes the problem. I am really rolling on the floor - a extension which should make URLs case-insensitive cause the apposite. ROFL OMG AND LOL

Actions #2

Updated by Anonymous over 3 years ago

Where is the close issue button?

Actions #3

Updated by Oliver Bartsch over 3 years ago

  • Status changed from New to Closed

Thanks for coming back with the actual cause. I therefore close this issue as requested.

Actions

Also available in: Atom PDF