Actions
Bug #92565
closedRouting params are case-sensitive - but should not
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