From: Philipp Holzer Date: Sun, 2 Jun 2019 01:19:44 +0000 (+0200) Subject: Remove .well-known hardening X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dec59838504b140eaafd7999167d7caddb1e935d;p=friendica.git Remove .well-known hardening --- diff --git a/src/App.php b/src/App.php index e5ec66f5e3..89d3009da0 100644 --- a/src/App.php +++ b/src/App.php @@ -993,12 +993,6 @@ class App ); } - if (strstr($this->query_string, '.well-known/host-meta') && ($this->query_string != '.well-known/host-meta')) { - Module\Special\HTTPException::rawContent( - new HTTPException\NotFoundException() - ); - } - if (!$this->getMode()->isInstall()) { // Force SSL redirection if ($this->baseURL->checkRedirectHttps()) {