Remove .well-known hardening
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 2 Jun 2019 01:19:44 +0000 (03:19 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 2 Jun 2019 01:19:44 +0000 (03:19 +0200)
src/App.php

index e5ec66f..89d3009 100644 (file)
@@ -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()) {