String with slashes no longer parsed correctly in 3.4.1
Fjan opened this issue · 3 comments
Fjan commented
In sprockets-rails version 3.4.0 this CSS works correctly:
$cdn: "//cdn.example.net";
background: url(#{$cdn}/icon/icn.png) no-repeat;
In sprockets-rails version 3.4.1 one of the slashes in the URL disappears from the output. As a mitigation you can quote the string inside the url function, then the slashes appear unharmed.
rafaelfranca commented
@jcoyne this one is also related to the absoute path fix.
rafaelfranca commented
Fjan commented
Confirmed, that fixes it. Thanks!