[BUGFIX] Use URI of current request for referrer check
Instead of generating the URL to the backend login, the URI of the current request is now used for the referrer check in backend login. This fixes a redirect issue with password recovery links opened via email. The anchor-based reload detection has been replaced with a localStorage-based solution as browsers don't trigger a new request if the target location is already loaded, but only an achor is appended to the URL. Resolves: #91442 Releases: master, 10.4, 9.5 Change-Id: I577bdd8ce75c94f864852f812c0b8ad66f0d5634
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Login.ts 5 additions, 7 deletions...s/TypeScript/backend/Resources/Public/TypeScript/Login.ts
- typo3/sysext/backend/Classes/Controller/LoginController.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Controller/LoginController.php
- typo3/sysext/backend/Resources/Public/JavaScript/Login.js 1 addition, 1 deletiontypo3/sysext/backend/Resources/Public/JavaScript/Login.js
Please register or sign in to comment