Skip to content

Commit

Permalink
Merge pull request FluidTYPO3#640 from tantegerda1/development
Browse files Browse the repository at this point in the history
[BUGFIX] Avoid path conflicts on CSS assets
  • Loading branch information
NamelessCoder committed Jul 21, 2014
2 parents 21918bc + 6737146 commit f769135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/AssetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ protected function copyReferencedFilesAndReplacePaths($contents, $regex, $origin
foreach ($matches[2] as $matchCount => $match) {
$match = trim($match, '\'" ');
if (FALSE === strpos($match, ':') && !preg_match('/url\\s*\\(/i', $match)) {
$checksum = md5($match);
$checksum = md5($originalDirectory . $match);
if (0 < preg_match('/([^\?#]+)(.+)?/', $match, $items)) {
list(, $path, $suffix) = $items;
} else {
Expand Down

0 comments on commit f769135

Please sign in to comment.