Issue Bug Closed

#31239compressor doesn't resolves files linked with domain

Stefan Galinski 10/24/11, 21:04 updated 06/15/15, 10:32

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.

Reviews 3