joergrech / KickstartWithBootstrap

Kickstart is an extension for Grails in order to start your project with a good looking frontend. It is intended to be used in rapid application scenarios such as a Startup Weekend or a prototyping session with a customer. This plugin provides adapted scaffolding templates for standard CRUD pages using Twitter's CSS Framework Bootstrap and offers some basic pages for a web site.
65 stars 52 forks source link

HTTPS Mixed Content Warnings IE #38

Closed polaskj closed 11 years ago

polaskj commented 11 years ago

If plugin's host application uses SSL, IE will warn of mixed content on each page load.

This is caused by the following unsecure resource in kickstart.gsp:

<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<%-- For Javascript see end of body --%>

My proposed solution is to use the https version of the js by default(there should be no adversie side-effects to non-ssl pages.

<!--[if lt IE 9]>
    <script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<%-- For Javascript see end of body --%>