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.
Actions