diff --git a/Assetic/Filter/CssURLRewriteFilter.php b/Assetic/Filter/CssURLRewriteFilter.php index 7ea6f74..abe44c8 100644 --- a/Assetic/Filter/CssURLRewriteFilter.php +++ b/Assetic/Filter/CssURLRewriteFilter.php @@ -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].')'; }