From 967ca824e3cd54e2df80bbacaedb66a08c431b88 Mon Sep 17 00:00:00 2001
From: Eric Clinger
Use the HTTPS protocol for embedded resources where possible.
+Use HTTPS for embedded resources where possible.
-Always use the HTTPS protocol (https:
) for images and other media
+
Always use HTTPS (https:
) for images and other media
files, style sheets, and scripts, unless the respective files are not available
over HTTPS.
<!-- Not recommended: omits the protocol -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
-<!-- Not recommended: uses the HTTP protocol -->
+<!-- Not recommended: uses HTTP -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
@@ -45,7 +45,7 @@ over HTTPS.
/* Not recommended: omits the protocol */
@import '//fonts.googleapis.com/css?family=Open+Sans';
-/* Not recommended: uses the HTTP protocol */
+/* Not recommended: uses HTTP */
@import 'http://fonts.googleapis.com/css?family=Open+Sans';