diff --git a/auth_request.php b/auth_request.php index 783457d0a..ef56f4376 100644 --- a/auth_request.php +++ b/auth_request.php @@ -39,14 +39,12 @@ $arrWhitelist = [ '/webGui/images/case-model.png', '/webGui/images/green-on.png' ]; -foreach ($arrWhitelist as $strWhitelist) { - if (strpos($_SERVER['REQUEST_URI'], $strWhitelist) === 0) { - http_response_code(200); - exit; - } +if (in_array($_SERVER['REQUEST_URI'],$arrWhitelist)) { + // authorized + http_response_code(200); +} else { + // non-authorized + //error_log(print_r($_SERVER, true)); + http_response_code(401); } - -// non-authorized -//error_log(print_r($_SERVER, true)); -http_response_code(401); exit; diff --git a/plugins/dynamix.docker.manager/DockerSettings.page b/plugins/dynamix.docker.manager/DockerSettings.page index 6575e4a0b..48f51c7ca 100644 --- a/plugins/dynamix.docker.manager/DockerSettings.page +++ b/plugins/dynamix.docker.manager/DockerSettings.page @@ -227,7 +227,6 @@ Docker LOG number of files: > Specifies the number of LOG files when LOG rotation is done. - Template Authoring Mode: : + + + + +> Allows direct communication between the host and containers using a custom (macvlan) network.
+> By default this is prohibited. + Preserve user defined networks: :