Skip to content
Snippets Groups Projects
Commit 61030c7b authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[BUGFIX] Correctly resolve best matching FAL storage

For legacy reasons storage resolving in file abstraction layer still
supports using identifiers like `/fileadmin/img.png` instead of
`1:/img.png` (given, that `1:` corresponds to `fileadmin/` storage).

To resolve the "best matching storage", existing storage paths are
analyzed - however this did not work in the following cases:

+ identifier like `/fileadmin/img.png` on storage using relative
  base-path like `fileadmin/`
+ identifier using absolute path on storage with relative base-path
+ identifier using relative path on storage with absolute base-path

Resolves: #94519
Releases: master, 10.4, 9.5
Change-Id: Id8663b3e7fc40d777288bd498d2250e528f4f4af
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69793


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 6501ef5c
Branches
Tags
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