kopia lustrzana https://github.com/friendica/friendica
Remove .well-known hardening
rodzic
32a8f4d37b
commit
dec5983850
|
@ -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()) {
|
||||||
|
|
Ładowanie…
Reference in New Issue