From 9b4b9175fc79b26776577031b72312d75ff899ef Mon Sep 17 00:00:00 2001 From: Andy Carter Date: Wed, 27 Jan 2016 10:21:50 +0000 Subject: [PATCH] Replaced protocol-relative URLs with HTTPS protocol Use of protocol-relative URLs is now seen as an anti-pattern as it leaves the door open to attacks. As the CDNs serve over HTTPS it should be recommended that people use HTTPS rather than protocol-relative URLs. See Paul Irish's post on [Protocol-relative URLs](http://www.paulirish.com/2010/the-protocol-relative-url/) for more details. --- docs/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.html b/docs/index.html index 10e7e6a3..dfd06e2f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -113,7 +113,7 @@ slug: home

Select2 is hosted on both the cdnjs and - jsDelivr CDNs, allowing + jsDelivr CDNs, allowing you to quickly include Select2 on your website.

@@ -125,8 +125,8 @@ slug: home

-<link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css" rel="stylesheet" />
-<script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.min.js"></script>
+<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css" rel="stylesheet" />
+<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.min.js"></script>