diff --git a/core/html_api.php b/core/html_api.php
index 298e19eb0a..168806cfe0 100644
--- a/core/html_api.php
+++ b/core/html_api.php
@@ -367,7 +367,7 @@ function html_css() {
html_css_link( config_get( 'css_include_file' ) );
if ( config_get( 'cdn_enabled' ) == ON ) {
- echo '' . "\n";
+ echo '' . "\n";
} else {
html_css_link( 'jquery-ui-1.11.4.min.css' );
}
@@ -447,8 +447,8 @@ function html_head_javascript() {
echo "\t" . '' . "\n";
if ( config_get( 'cdn_enabled' ) == ON ) {
- echo "\t" . '' . "\n";
- echo "\t" . '' . "\n";
+ echo "\t" . '' . "\n";
+ echo "\t" . '' . "\n";
} else {
html_javascript_link( 'jquery-1.11.3.min.js' );
html_javascript_link( 'jquery-ui-1.11.4.min.js' );
diff --git a/core/http_api.php b/core/http_api.php
index ffa3b8a2bb..d998c5c53f 100644
--- a/core/http_api.php
+++ b/core/http_api.php
@@ -167,7 +167,7 @@ function http_security_headers() {
# White list the CDN urls (if enabled)
if ( config_get( 'cdn_enabled' ) == ON ) {
- $t_cdn_url = 'https://ajax.googleapis.com';
+ $t_cdn_url = '//ajax.googleapis.com';
$t_style_src .= " $t_cdn_url";
$t_script_src .= " $t_cdn_url";
}