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

HTML5shiv.js and Respond.js links broken #11312

Closed
mnlfischer opened this issue Oct 31, 2013 · 11 comments
Closed

HTML5shiv.js and Respond.js links broken #11312

mnlfischer opened this issue Oct 31, 2013 · 11 comments

Comments

@mnlfischer
Copy link

Please check the source!

<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
@carasmo
Copy link

carasmo commented Oct 31, 2013

Yes, there's a security certificate issue and 404 errors

@cvrebert
Copy link
Collaborator

Could you please copy-paste the error messages so we can report them to the MaxCDN guys?

@carasmo
Copy link

carasmo commented Oct 31, 2013

404 Not Found
NetDNA/2.0.1

I got an Untrusted Site message but since I've allowed can't copy that. All the page reads is: 404

@cvrebert
Copy link
Collaborator

Okay, confirmed. The CDN's SSL cert doesn't match, but even telling the browser to ignore that, it then 404s. Insecure HTTP URLs work fine.
Will escalate to the OSS MaxCDN folks.

@cvrebert
Copy link
Collaborator

Filed MaxCDN/osscdn#9

@jdorfman
Copy link
Contributor

@carasmo @mnlfischer I apologize for the error. It is now fixed, working with our operations team to see what happened.

@carasmo
Copy link

carasmo commented Dec 4, 2013

Are people supposed to use this CDN of respond.js in their Bootstrap installs?

@cvrebert
Copy link
Collaborator

cvrebert commented Dec 4, 2013

@carasmo They are free to do so.

@carasmo
Copy link

carasmo commented Dec 4, 2013

Nice. I noticed with myself and a StackOverflow question that a lot of folks are copying your examples and rather than hosting the CSS they use the one linked in the head of the example page. This is fine but on IE8, Respond.js requires that the CSS be hosted by a relative path on that particular server as it makes a pristine copy of the CSS and so forth (see their docs), at least on my apache server it does not work unless there's a local, relative path of the CSS and not on a subdomain, so www. probably won't work either, though I don't use www, still others do.

@cvrebert
Copy link
Collaborator

cvrebert commented Dec 4, 2013

@carasmo We mention that stuff in the Respond.js section of our docs: http://getbootstrap.com/getting-started/#respond-js-x-domain
I look forward to the day when we can drop IE8 and Respond.js, and thus not have to worry about these complications.

@carasmo
Copy link

carasmo commented Dec 4, 2013

Ahh. Been using respond.js for years just never hosted my CSS anywhere but local.

I see it:

Respond.js and cross-domain CSS

Using Respond.js with CSS hosted on a different (sub)domain (for example, on a CDN) requires some additional setup. See the Respond.js docs for details.

That's gotta be biggerized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants