Bug #103954
openimport map prefix-based URL calculation misses to join by /
0%
Description
Import map resolution without a cache-bust suffix (note: this is
currently not used in TYPO3 backend as we do not have cache-bust
prefixes yet), missed to join a previously splitted path-string
via slashes, when a prefix based import-declaration was used to
calculate the resulting URL of an import (usecase: calculate the
URL of a bare module specifier for usage in a `<script src="">`
tag, where bare module specifiers (`@typo3/backend/foo.js`) can
not be used.
Note that this bug is not exposed when the import-map paths are
recursively pre-calculated in `computeImportMaps()`, only if
package versions are hashed into public resource paths. That
means this fix is a preparation for #98481.
Updated by Gerrit Code Review 6 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/+/84447
Updated by Benjamin Franzke 6 months ago
- Related to Task #98481: Hash package version into public resource paths added
Updated by Gerrit Code Review 6 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/+/84447
Updated by Gerrit Code Review about 1 month 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/+/84447
Updated by Gerrit Code Review about 1 month ago
Patch set 4 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/+/84447