Project

General

Profile

Actions

Bug #31239

closed

compressor doesn't resolves files linked with domain

Added by Stefan Galinski over 12 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-10-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The compressor doesn't correctly handles files that are added with the e.g. pageRenderer method addJsFile with the domain applied.

Example:
http://localhost/site/myFile.js

Results in the following example warning:

PHP Warning: filemtime(): stat failed for /var/www/Intro/http://localhost/site/myFile.js in /var/www/typo3_src-git/t3lib/class.t3lib_compressor.php line 461

The attached patch is more or less a workaround, because this would increase the I/O burden on the server as it should not be needed to resolve and save the contents of local urls.


Files

urlReferences.patch (1.09 KB) urlReferences.patch Stefan Galinski, 2011-10-24 21:04

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #32397: Page renderer provides files to compressor incorrectlyClosedDmitry Dulepov2011-12-08

Actions
Related to TYPO3 Core - Bug #34162: Merging CSS/JS files with absRefPrefix set causes PHP errorClosed2012-02-21

Actions
Has duplicate TYPO3 Core - Bug #32517: t3lib_compressor set local filename to remote uri for external resourcesClosed2011-12-13

Actions
Actions

Also available in: Atom PDF