Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from phlb/feature/fix-filterDump
Browse files Browse the repository at this point in the history
Fix filterDump failure on base64 encoded image
  • Loading branch information
fkrauthan authored Aug 21, 2016
2 parents 38b7687 + 7ed1d58 commit 5a10e53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assetic/Filter/CssURLRewriteFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public function filterDump(AssetInterface $asset)
$tmpPath = $that->checkForBundleLinking($matches[3]);
if ($tmpPath != null) {
return $matches[1].'('.$matches[2].$tmpPath.')';
} elseif (substr($matches[3],0,5) == "data:") {
return $matches[1].'('.$matches[2].$matches[3].')';
} elseif (!$that->checkPath($matches[3])) {
return $matches[1].'('.$matches[2].$matches[3].')';
}
Expand Down

0 comments on commit 5a10e53

Please sign in to comment.