Bug #105036
closedSwitching user in Backend leads to a [object%20Object] URL
100%
Description
SwitchUserController intends to return an URI to the TYPO3
main route, thus calls the UriBuilder, which returns an Uri object.
When json encoding this PHP object, it is transformed to an empty JS object,
eventually leading to the following code being executed:
top.window.location.href = {}
This results in adding [object%20Object] to the URL.
In restrictive webserver configurations,
such URLs will lead to a Bad Request response.
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/+/86186
Updated by Gerrit Code Review 2 months 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/+/86186
Updated by Gerrit Code Review 2 months ago
Patch set 3 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/+/86186
Updated by Helmut Hummel 2 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e7b355258ba8686e60157b7f6b7c19680899d974.
Updated by Gerrit Code Review 2 months ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86212
Updated by Gerrit Code Review 2 months ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86213
Updated by Helmut Hummel 2 months ago
- Status changed from Under Review to Resolved
Applied in changeset 3cffe0c1be263cae1836c2c14786e8307e1b2ed0.