1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-24 22:45:51 +02:00

Fixed the last commit

This commit is contained in:
Joe Cai
2014-01-02 22:44:27 +08:00
parent bb03aa097d
commit ea866716e7

View File

@@ -284,7 +284,7 @@ class Minify_CSS_UriRewriter {
} }
// analyze URI // analyze URI
if ('/' !== $uri[0] // root-relative if ('/' !== $uri[0] // root-relative
&& !preg_match('~about\:blank(#.*)?$~', $uri) //about:blank && !preg_match('~^about\:blank(#.*)?$~', $uri) //about:blank
&& false === strpos($uri, '//') // protocol (non-data) && false === strpos($uri, '//') // protocol (non-data)
&& 0 !== strpos($uri, 'data:') // data protocol && 0 !== strpos($uri, 'data:') // data protocol
) { ) {