Project

General

Profile

Actions

Bug #87861

closed

config.compressCss prevents inclusion of external files

Added by Gerhard Rupp over 5 years ago. Updated over 4 years ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #53123: Is compressing external JS and CSS files necessary by default? ClosedOliver Hader2013-10-25

Actions
Actions

Also available in: Atom PDF