mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 11:44:28 +02: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