Actions
Bug #104928
openPassing a "type" array GET parameter triggers a PHP warning
Status:
Under Review
Priority:
Should have
Assignee:
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-09-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Calling https://www.example.com/?type[]=123 produces an entry like this in the sys_log
:
PHP Warning: Array to string conversion in /var/www/html/vendor/typo3/cms-core/Classes/Routing/PageRouter.php line 562
We have observed this with TYPO3 11 and 12. From looking at the code the bug seems to be there also on main
.
Updated by Garvin Hicking 2 months ago
- Related to Bug #104805: Links with ?type=[number] should give a 404 error and not write a log for each such request added
Updated by Stefan Bürk 2 months ago
- Category set to Site Handling, Site Sets & Routing
- Assignee set to Stefan Bürk
Updated by Gerrit Code Review 2 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86100
Updated by Gerrit Code Review about 1 month ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86100
Actions