Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The most recent release of adaptive theme is missing the "http:" in front of the HTML5 Shiv Library.
In templates/html.tpl.php:
Should be:
We were getting page not found errors.
Comment | File | Size | Author |
---|
Comments
Comment #1
alexp999 CreditAttribution: alexp999 commentedThe "script" text got taken out, try again:
In templates/html.tpl.php:
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
Should be:
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedWhy would you get 404's for this? Can you show me please?
There is a very good reason why we leave the http: out, its to support https:
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedSee the original report: https://github.com/twitter/bootstrap/issues/1706
And the issue: #1334292: Remove protocol for external Google fonts and HTML5 shiv to support both http and https
Comment #4
alexp999 CreditAttribution: alexp999 commentedWould it not be better just to use https all the time, like most people do with jquery etc?
See attached:
EDIT:
I didnt deliberately change the issue type, it must have been because you replied while I was replying.
Comment #5
alexp999 CreditAttribution: alexp999 commentedOk having looked at omitting the protocol, it seems valid. I found the apache access log entry:
69.28.58.13 - - [27/Feb/2012:14:19:44 +0000] "GET //html5shiv.googlecode.com/svn/trunk/html5.js HTTP/1.0" 404 655 "http://www.bressner.co.uk//html5shiv.googlecode.com/svn/trunk/html5.js" "HuaweiSymantecSpider/1.0+DSE-support@huaweisymantec.com+(compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR ; http://www.huaweisymantec.com/en/IRL/spider)"
Must just be a misbehaving spider not following RFC properly. Never knew you could omit the url, why dont google use this code for their CDN more?
Comment #6
Jeff Burnz CreditAttribution: Jeff Burnz commentedOh, thanks for the heads up, I will store that in memory.