]> git.mxchange.org Git - friendica.git/commitdiff
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 e5ec66f5e3815bbe3ce724d039a5c162bf5cce02..89d3009da04d4f72ca2afffe4e5d9d38ac24461a 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()) {