mirror of
https://github.com/friendica/friendica
synced 2025-04-23 09:10:10 +00:00
Emergency fixes to fix a bunch of fatal errors
This commit is contained in:
parent
974564f75e
commit
2ddf37f32d
6 changed files with 27 additions and 23 deletions
|
@ -48,10 +48,10 @@ use Friendica\Network\Probe;
|
|||
use Friendica\Util\Crypto;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Images;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Proxy;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Util\XML;
|
||||
use GuzzleHttp\Psr7\Uri;
|
||||
|
||||
/**
|
||||
* This class contain functions to create and send DFRN XML files
|
||||
|
@ -1013,7 +1013,7 @@ class DFRN
|
|||
$path_parts = explode('/', $parts['path']);
|
||||
array_pop($path_parts);
|
||||
$parts['path'] = implode('/', $path_parts);
|
||||
$contact['batch'] = Network::unparseURL($parts);
|
||||
$contact['batch'] = Uri::fromParts($parts);
|
||||
}
|
||||
|
||||
$dest_url = ($public_batch ? $contact['batch'] : $contact['notify']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue