btford / grunt-google-cdn

58 stars 50 forks source link

Triple slash in paths? #34

Closed dmitrybelyakov closed 11 years ago

dmitrybelyakov commented 11 years ago

Hi!

I noticed the task would produce triple slash when using absolute path in non-cdnified script tag, like this:

<script src="/components/jquery/jquery.js"></script>

will get you

<script src="///ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

Not that it breaks something but looks weird. Is that a bug?

Hope you're having a great day, as do I :) Cheers!

passy commented 11 years ago

Interesting. That certainly shouldn't happen. Thanks for the report! :)

passy commented 11 years ago

Fixed in latest version of google-cdn.

scottux commented 11 years ago

Any ETA on when the latest version will be released? I am having this issue as well and all I can think to do is disable the task for now.

passy commented 11 years ago

See #35, /ping @btford