lewisje / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

url in the css gets changed #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version: 2.1.3

PHP version: 5.3.2

When I minify my css, in the url of the background the "../" becomes "/".

Here is the original css:

div.myButton {
    background: url(../images/button.png) no-repeat left top;
}

minified css:

div.myButton{background:url(/images/button.png) no-repeat left top}

command to minify:

wget http://localhost/minify/min/index.php?f=css/test.css -O minified.css

Thanks
Srikanth

Original issue reported on code.google.com by vi.srika...@gmail.com on 15 Nov 2010 at 2:57

GoogleCodeExporter commented 9 years ago
This is a feature you can disable if you wish.
http://code.google.com/p/minify/wiki/UriRewriting

Original comment by mrclay....@gmail.com on 15 Nov 2010 at 3:25