]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Merge pull request #4651 from MrPetovan/develop
[friendica.git] / index.php
index a76057101a2f72596cc5c2b13555a5fd0ef85dc0..e3ab16469b17f75d07a6e522b7206a18efec9229 100644 (file)
--- 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();