Merge pull request #7219 from nupplaphil/task/remove_well_known_hardening

Remove .well-known hardening
This commit is contained in:
Hypolite Petovan 2019-06-01 22:26:09 -04:00 committed by GitHub
commit c8dae2a4b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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()) { if (!$this->getMode()->isInstall()) {
// Force SSL redirection // Force SSL redirection
if ($this->baseURL->checkRedirectHttps()) { if ($this->baseURL->checkRedirectHttps()) {