Commit ab17a7d
committed
[BUGFIX] Avoid using native filemtime for calculation of paths
When generating the preview images in the FileList,
a change was added to use filemtime for "absolute path",
whereas paths such as "/_assets/..." are technically
absolute, but are already absolute web paths generated
by "getPublicUrl()" of FAL.
For this reason, cache busting is added manually via
the FAL API.
Resolves: #106368
Related: #101968
Related: #82855
Releases: main, 13.4
Change-Id: If8f76c195f8c5c395b038b0fc4fdeb419aa59033
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/89052
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Kienast <akienast@scripting-base.de>
Reviewed-by: Benni Mack <benni@typo3.org>1 parent 6a00337 commit ab17a7d
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
708 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
709 | 712 | | |
710 | 713 | | |
711 | 714 | | |
| |||
0 commit comments