Actions
Bug #87861
closedconfig.compressCss prevents inclusion of external files
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2019-03-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Example:
config.compressCSS = 1 font-awesome = //cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css font-awesome.external = 1
TYPO3 unsuccessfully tries to load the external file from the local webroot and results in "Oops, an error occurred!"
Entry in TYPO3 log:
file_get_contents(<webroot>///cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css): failed to open stream: No such file or directory
If compression is disabled globally (config.compressCSS = 0) or for the external resource (font-awesome.disableCompression = 1) everything is OK.
Updated by Jonas Schwabe over 5 years ago
FYI: This has been fixed in TYPO3 9.5.2 (#53123).
There is a discussion about backporting this to 8.7 on gerrit: https://review.typo3.org/c/Packages/TYPO3.CMS/+/58867
Updated by Georg Ringer over 4 years ago
- Related to Bug #53123: Is compressing external JS and CSS files necessary by default? added
Updated by Georg Ringer over 4 years ago
solved with #53123, no backport to 8 will be done. therefore I am closing this issue
Actions