Loading core/scripts/run-tests.sh +5 −1 Original line number Diff line number Diff line Loading @@ -548,7 +548,11 @@ function simpletest_script_init() { if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { // Ensure that any and all environment variables are changed to https://. foreach ($_SERVER as $key => $value) { $_SERVER[$key] = str_replace('http://', 'https://', $_SERVER[$key]); // Some values are NULL. Non-NULL values which are falsy will not contain // text to replace. if ($value) { $_SERVER[$key] = str_replace('http://', 'https://', $value); } } } Loading Loading
core/scripts/run-tests.sh +5 −1 Original line number Diff line number Diff line Loading @@ -548,7 +548,11 @@ function simpletest_script_init() { if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { // Ensure that any and all environment variables are changed to https://. foreach ($_SERVER as $key => $value) { $_SERVER[$key] = str_replace('http://', 'https://', $_SERVER[$key]); // Some values are NULL. Non-NULL values which are falsy will not contain // text to replace. if ($value) { $_SERVER[$key] = str_replace('http://', 'https://', $value); } } } Loading