Actions
Bug #105592
openThe TypoScript option "external" must be evaluated before an external CSS/JS resource gets included
Start date:
2024-11-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
includeCSS, includeCSSLibs, includeJS, includeJSLibs
Complexity:
Is Regression:
Sprint Focus:
Description
Problem/Description¶
In https://review.typo3.org/c/Packages/TYPO3.CMS/+/27130 the functionality was removed. Looks like the regression exists for about 10 years
Example:¶
- page.includeCSS.1
must be included
- page.includeCSS.2
must NOT be included
page.includeCSS {
1 = https://unpkg.com/open-props
2 = https://unpkg.com/open-props/normalize.min.css
1.external = 1
2.external = 0
}
page.includeCSS.2
gets also included without applying any patch to the TYPO3 core.
ToDo(s)¶
- Re-add check if the url to js/css resource begins with https, http or // and only include it if external option is set.
Acceptance Criteria¶
- The external JS/CSS includes must work like it was before some time ago
- The external JS/CSS includes must work like it is documented (Link to documentation)
Actions