From dec59838504b140eaafd7999167d7caddb1e935d Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 2 Jun 2019 03:19:44 +0200 Subject: [PATCH] Remove .well-known hardening --- src/App.php | 6 ------ 1 file changed, 6 deletions(-) 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()) { -- 2.39.5