Skip to content
Snippets Groups Projects
Commit 7999caed authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[BUGFIX] Remove leading slash from backendLogo path

As the extension configuration field `backendLogo` isn't resolved
by `TYPO3\CMS\Backend\Controller\LoginController::getUriForFileName()`,
it is in contrast to other fields (e.g. loginLogo or loginBackgroundImage)
not possible to add a path with a leading slash.

As this is neither explicit allowed nor disallowed, this unifies the
behavior by removing a possible leading slash from the defined path
before it gets resolved as it's already the case for the other fields.

Resolves: #89636
Releases: master, 9.5
Change-Id: I3f7a72f1005bc403c72b837cf66e5303962a8a42
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62293


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarMichael Telgkamp <michael.telgkamp@mindscreen.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarMichael Telgkamp <michael.telgkamp@mindscreen.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 6640925e
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment