From 7a5ae06dac759c4df73f8143ae6bc4013b640423 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 26 Nov 2016 15:03:31 +0100
Subject: [PATCH] load jquery via https always

---
 inc/template.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/template.php b/inc/template.php
index 7f48f2914..c7089abfb 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -414,11 +414,11 @@ function tpl_metaheaders($alt = true) {
     if($conf['jquerycdn']) {
         $head['script'][] = array(
             'type' => 'text/javascript', 'charset' => 'utf-8', '_data' => '',
-            'src' => sprintf('http://code.jquery.com/jquery-%s.min.js', $jqver['JQ_VERSION'])
+            'src' => sprintf('https://code.jquery.com/jquery-%s.min.js', $jqver['JQ_VERSION'])
         );
         $head['script'][] = array(
             'type' => 'text/javascript', 'charset' => 'utf-8', '_data' => '',
-            'src' => sprintf('http://code.jquery.com/jquery-migrate-%s.min.js', $jqver['JQM_VERSION'])
+            'src' => sprintf('https://code.jquery.com/jquery-migrate-%s.min.js', $jqver['JQM_VERSION'])
         );
         $head['script'][] = array(
             'type' => 'text/javascript', 'charset' => 'utf-8', '_data' => '',
-- 
GitLab