X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=e3ab16469b17f75d07a6e522b7206a18efec9229;hb=aa99cab918ff0a060aabe6cfe56fa423e440f331;hp=a76057101a2f72596cc5c2b13555a5fd0ef85dc0;hpb=dca6627682f62a67f055fd1fe41769a572cb2791;p=friendica.git diff --git a/index.php b/index.php index a76057101a..e3ab16469b 100644 --- a/index.php +++ b/index.php @@ -74,7 +74,7 @@ if (!$install) { if (Config::get('system', 'force_ssl') && ($a->get_scheme() == "http") && (intval(Config::get('system', 'ssl_policy')) == SSL_POLICY_FULL) && (substr(System::baseUrl(), 0, 8) == "https://") - ) { + && ($_SERVER['REQUEST_METHOD'] == 'GET')) { header("HTTP/1.1 302 Moved Temporarily"); header("Location: " . System::baseUrl() . "/" . $a->query_string); exit();