Bug #92565
closedRouting params are case-sensitive - but should not
0%
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.
Updated by Anonymous about 4 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
Updated by Oliver Bartsch about 4 years ago
- Status changed from New to Closed
Thanks for coming back with the actual cause. I therefore close this issue as requested.