From 1fd376e3651b0d6b0bc47966e7d6c91338cad8a8 Mon Sep 17 00:00:00 2001 From: Larry Meaney Date: Fri, 27 Sep 2019 21:30:50 -0700 Subject: [PATCH 1/4] CSP: block-all-mixed-content If a page is loaded via https, prevent it from loading resources via http --- logging.htm | 1 + plugins/dynamix.docker.manager/include/ContainerSize.php | 1 + plugins/dynamix.docker.manager/log.htm | 1 + plugins/dynamix.plugin.manager/include/ShowChanges.php | 1 + plugins/dynamix/include/Boot.php | 1 + plugins/dynamix/include/CryptoBenchmark.php | 1 + plugins/dynamix/include/DefaultPageLayout.php | 1 + plugins/dynamix/include/ParityHistory.php | 1 + plugins/dynamix/include/SelectCase.php | 1 + update.htm | 1 + 10 files changed, 10 insertions(+) diff --git a/logging.htm b/logging.htm index add50ff04..2703b94df 100644 --- a/logging.htm +++ b/logging.htm @@ -2,6 +2,7 @@ + +
@@ -198,3 +204,4 @@ $(function() { }); + diff --git a/plugins/dynamix/include/ReplaceKey.php b/plugins/dynamix/include/ReplaceKey.php index b9f6fcafd..bf95a415e 100644 --- a/plugins/dynamix/include/ReplaceKey.php +++ b/plugins/dynamix/include/ReplaceKey.php @@ -16,6 +16,11 @@ require_once "$docroot/webGui/include/Helpers.php"; $var = parse_ini_file('state/var.ini'); $keyfile = base64_encode(file_get_contents($var['regFILE'])); ?> + + + + + "> "> @@ -51,6 +56,7 @@ function replaceKey(email, guid, keyfile) { } } +
@@ -67,3 +73,4 @@ Once a replacement key is generated, your old USB Flash device will be blackl
+ diff --git a/plugins/dynamix/include/SystemInformation.php b/plugins/dynamix/include/SystemInformation.php index 545ce9df5..3829eee26 100644 --- a/plugins/dynamix/include/SystemInformation.php +++ b/plugins/dynamix/include/SystemInformation.php @@ -31,6 +31,11 @@ function dmidecode($key,$n,$all=true) { return $all ? $properties : $properties[0]; } ?> + + + + + "> ">