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 #1

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

Actions #2

Updated by Riccardo De Contardi over 5 years ago

  • Category set to Frontend
Actions #3

Updated by Georg Ringer over 4 years ago

  • Related to Bug #53123: Is compressing external JS and CSS files necessary by default? added
Actions #4

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 #5

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Resolved
Actions #6

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF