Stop Clientlibs From Rewriting Absolute URLs In CSS
Having some issues with the URLs in our css being rewritten to relative even though we want them to be absolute. One style in particular -
behavior: url(/etc/designs/<appname>/behavior/PIE.htc);
We are developing in CQ5.5 and when the css is compiled it works as expected, the url is still absolute when it gets to the browser. However, when moving to a CQ5.6 server, this style is altered to be a relative url of -
behavior: url(clientlibs/behavior/PIE.htc);
This doesn't seem to be an issue with most files (images), however it doesn't work with the PIE.htc library file. I temporarily worked around the problem by putting the full url to the file -
behavior: url(https://<url>.com/etc/designs/<appname>/clientlibsie/behavior/PIE.htc)
This works but obviously isn't a great idea since that css would have to be changed for our dev, test, and prod servers. Any ideas are appreciated!
Thanks