[BUGFIX] SiteResolver middleware must not care for non int id parameters 37/58337/7
authorAnja <aleichsenring@ab-softlab.de>
Wed, 19 Sep 2018 12:50:56 +0000 (14:50 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 20 Sep 2018 07:33:31 +0000 (09:33 +0200)
commit1da2c402e7db9b83a23fa54310ba4f1cedd8f3c5
treea85c095227f807df35b1f5bb340266a37c8df521
parent5842b5093cc2ec27ce61b9db6fd1504d173b6ee7
[BUGFIX] SiteResolver middleware must not care for non int id parameters

The FileList module uses the 'id' parameter to pass the directory around,
which makes the parameter a string in this case.
Site Resolver Middleware will no longer care for a parameter named 'id',
which is not strictly an integer.

Change-Id: Ib780ed4e27b78e8f8594ab8b4a6c31f90737a715
Resolves: #86153
Releases: master
Reviewed-on: https://review.typo3.org/58337
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/backend/Classes/Middleware/SiteResolver.php
typo3/sysext/backend/Tests/Unit/Middleware/SiteResolverTest.php [new file with mode: 0644]