Actions
Bug #32517
closedt3lib_compressor set local filename to remote uri for external resources
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-12-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The compressor doesn't correctly handles files that are added as an external resource, for example using
page.includeJS {
jquery = http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
jquery.external = 1
}
t3lib_compressor doesn't update the filename to the local copy after downloading the asset. This results in error messages similar to this one:
PHP Warning: filemtime(): stat failed for /var/www/Intro/http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js in /var/www/typo3_src-git/t3lib/class.t3lib_compressor.php line 295
A fix has been uploaded at https://review.typo3.org/#change,7127
Actions