|
EE 2.2 Build 20110622
Minimee 1.1.3
This is kind of a bug report and a feature request in one.
We were base64 encoding some images, and I think the code that rewrites the background image urls was breaking in some instances. The one image (which was ridiculously long so I won’t paste it in here) was working fine and the URL didn’t get rewritten at all.
But the second image:
.hiring .button { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAACCAYAAAB7Xa1eAAAAFUlEQVQIHWNyqFJYhg0zyZlxMmDDAGyjCzNMrO7nAAAAAElFTkSuQmCC); }
Was being rewritten as:
url(http://sitename.com//stylesheets/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAACCAYAAAB7Xa1eAAAAFUlEQVQIHWNyqFJYhg0zyZlxMmDDAGyjCzNMrO7nAAAAAElFTkSuQmCC);
I went into libraries/cssmin.php and commented out lines 370-392 (the bit that does the URL rewriting) and that solved the problem.
So I guess the feature request would be a way to turn off the URL rewriting. Let me know if I can provide any more details.
|