Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protocol-relative URLs are replaced by grunt-cdn #37

Open
urish opened this issue Dec 17, 2013 · 0 comments
Open

Protocol-relative URLs are replaced by grunt-cdn #37

urish opened this issue Dec 17, 2013 · 0 comments

Comments

@urish
Copy link

urish commented Dec 17, 2013

Seems like this bug was introduced in bcdb7f0, by commenting out the code that ignores protocol-relative URLs.

Specifically, this is the URL that fails in my project: //ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js.

As a workaround, I added the following option to the the task configuration in my Gruntfile: match: '^[^/]|^/[^/]'.

Hope to see this fixed soon, thanks!

GertSallaerts pushed a commit to GertSallaerts/grunt-cdn that referenced this issue Jan 29, 2014
johnnyhalife added a commit that referenced this issue Jan 29, 2014
fix for #37 protocol-less URLs getting replaced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant