mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Improved server detection
This commit is contained in:
parent
98954dd14e
commit
cc75eb5d18
9 changed files with 660 additions and 342 deletions
|
@ -164,6 +164,8 @@ class APContact
|
|||
return $fetched_contact;
|
||||
}
|
||||
$url = $apcontact['url'];
|
||||
} elseif (empty(parse_url($url, PHP_URL_PATH))) {
|
||||
$apcontact['baseurl'] = $url;
|
||||
}
|
||||
|
||||
// Detect multiple fast repeating request to the same address
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue