Project

General

Profile

Actions

Bug #104928

open

Passing a "type" array GET parameter triggers a PHP warning

Added by Sebastian Michaelsen 2 months ago. Updated about 1 month ago.

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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #104805: Links with ?type=[number] should give a 404 error and not write a log for each such requestNew2024-09-03

Actions
Actions #1

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
Actions #2

Updated by Stefan Bürk 2 months ago

  • Category set to Site Handling, Site Sets & Routing
  • Assignee set to Stefan Bürk
Actions #3

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

Actions #4

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

Also available in: Atom PDF