X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=e3ab16469b17f75d07a6e522b7206a18efec9229;hb=4d0fb022267fa6349aad26b6e7f564ea8e6153d0;hp=a76057101a2f72596cc5c2b13555a5fd0ef85dc0;hpb=881c7ccfc11aab542f42d5c6a555722aa5eb5c75;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();