* (bug 25262) Fix for minification of hardcoded data: URIs in CSS
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 10 May 2011 20:14:30 +0000 (20:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 10 May 2011 20:14:30 +0000 (20:14 +0000)
commit5feb09f086c524611730ed2677c78387f36e7727
tree9559f3062598ff014fb617387270a5f374751ab5
parent6016958c3c1c39ba6bc2a51c7a9fa92ef49c0b7c
* (bug 25262) Fix for minification of hardcoded data: URIs in CSS

CSSMin::minify()'s processing of url references for path adjustment or embedding had excluded explicit fully-qualified http: and https: URLs, but was damaging others such as data: URIs that were actually hardcoded into the original CSS.
This was affecting styles used on no.wikipedia.org which embedded a few icons directly into the style sheet.
Now checking for any URL scheme rather than hardcoding a check for http & https.
RELEASE-NOTES-1.18
includes/libs/CSSMin.php