mwrock/RequestReduce — Issue #79: CSS backgrounds with relative paths are broken
Author: bajtos
Created: 2011-12-02 07:13:41+00:00
State: open

Consider this scenario:

~/App_Themes/ui/ui.theme.css
Background: url(images/ui-bg_glass_75_e6e6e6_1x400.png)

Without RequestReduce, the image is loaded from
~/App_Themes/ui/images/ui-bg_glass_75_e6e6e6_1x400.png

After RequestReduce processed the CSS, the browser tries to load the image from an incorrect location:
~/RequestReduceContent/images/ui-bg_glass_75_e6e6e6_1x400.png

I propose to replace relative paths with absolute ones.