Merge pull request #2391 from Quix0r/fixes/http-security

Missing exit() after header('Location: bla') is bad news
2022.09-rc
fabrixxm 2016-03-01 15:33:31 +01:00
commit be3fa8f8b1
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -72,7 +72,8 @@ if(!$install) {
(intval(get_config('system','ssl_policy')) == SSL_POLICY_FULL) AND
(substr($a->get_baseurl(), 0, 8) == "https://")) {
header("HTTP/1.1 302 Moved Temporarily");
header("location: ".$a->get_baseurl()."/".$a->query_string);
header("Location: ".$a->get_baseurl()."/".$a->query_string);
exit();
}
require_once("include/session.php");