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.

CommentFileSizeAuthor
#4 html5shiv.png15.25 KBalexp999
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexp999’s picture

The "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>

Jeff Burnz’s picture

Why 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:

Jeff Burnz’s picture

alexp999’s picture

Category: support » bug
FileSize
15.25 KB

Would it not be better just to use https all the time, like most people do with jquery etc?

See attached:

html5shiv

EDIT:

I didnt deliberately change the issue type, it must have been because you replied while I was replying.

alexp999’s picture

Ok 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?

Jeff Burnz’s picture

Category: bug » support
Status: Active » Fixed

Oh, thanks for the heads up, I will store that in memory.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.