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
1 changed files with 0 additions and 6 deletions

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