Issue Bug Closed

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

Sebastian Michaelsen 09/12/24, 07:34 updated 12/02/25, 14:33

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.

Reviews 5

History 515

  1. Garvin Hicking changed Related to #104805 09/12/24, 07:58

  2. Stefan Bürk changed category assigned to Stefan Bürk 09/15/24, 04:29

  3. Gerrit Code Review pushed patch set 1 for main to change 86100 status New Under Review 09/15/24, 04:30

  4. Gerrit Code Review pushed patch set 2 for main to change 86100 10/18/24, 13:50

  5. Gerrit Code Review pushed patch set 1 for main to change 88825 03/28/25, 12:19

  6. Gerrit Code Review pushed patch set 2 for main to change 88825 03/28/25, 12:21

  7. Gerrit Code Review pushed patch set 4 for main to change 89283 05/07/25, 14:23

  8. Gerrit Code Review pushed patch set 5 for main to change 89283 05/07/25, 14:30

  9. Gerrit Code Review pushed patch set 6 for main to change 89283 05/07/25, 17:02

  10. Gerrit Code Review pushed patch set 1 for 13.4 to change 89317 05/08/25, 09:04

  11. Christian Kuhn commented and changed status Under Review Resolved done 0 % 100 % 05/08/25, 09:25

    Applied in changeset commit:758f2186c8668d2a35502995c5a12e38b480de80.

  12. Gerrit Code Review pushed patch set 1 for 12.4 to change 90411 status Resolved Under Review 08/15/25, 12:42

  13. Gerrit Code Review pushed patch set 2 for 12.4 to change 90411 08/15/25, 14:41

  14. Christian Kuhn commented and changed status Under Review Resolved 08/22/25, 15:35

    Applied in changeset commit:f84998d9035e32b985ac10771c89a2f282711eee.

  15. Benni Mack changed status Resolved Closed 12/02/25, 14:33