OStatus: Fixed communication issues with deleted contacts

This commit is contained in:
Michael 2018-03-13 06:21:44 +00:00
parent 23718aeae3
commit 32ee4ca4b1
4 changed files with 37 additions and 39 deletions

View file

@ -72,7 +72,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();