cjohansen/juicer — pull request #73 by mystvearn147 (2013-11-01 09:56:33+00:00)
Title: Cache buster works with Font Awesome files

Cache buster works with Font Awesome files
==========================================

Adding md5 cache busters to Font Awesome (http://fontawesome.io/) results in urls that are broken.
This pull request fixes this. I can now run unmodified font awesome css files through juicer.

This could also be fixed by modifying the original css files but maintenance would be easier for me if I could use the original files.

I tested this also with hard and soft cache busters and they work.
Using rails cache buster, nothing is added to the url, it uses the original url. Is this expected?

Original
---------

../font/fontawesome-webfont.eot?v=3.2.1
../font/fontawesome-webfont.eot?#iefix&v=3.2.1

Result
-------

../font/fontawesome-webfont.eot?v=3.2-jcb5ae23ad29b67289a1375d2043e289c52.1
../font/fontawesome-webfont.eot?#iefix&v=3.2-jcb5ae23ad29b67289a1375d2043e289c52.1

Expected result
---------------

../font/fontawesome-webfont-jcb5ae23ad29b67289a1375d2043e289c52.eot?v=3.2.1
../font/fontawesome-webfont-jcb5ae23ad29b67289a1375d2043e289c52.eot?#iefix&v=3.2.1