fix for service_plink() after observing it in the wild
This commit is contained in:
parent
92afed0f5c
commit
d473c3c500
@ -1531,7 +1531,7 @@ function service_plink($contact, $guid) {
|
||||
|
||||
$m = parse_url($contact['xchan_url']);
|
||||
if($m) {
|
||||
$url = $scheme . '://' . $m['host'] . (($m['port']) ? ':' . $m['port'] : '');
|
||||
$url = $m['scheme'] . '://' . $m['host'] . (($m['port']) ? ':' . $m['port'] : '');
|
||||
}
|
||||
else
|
||||
$url = 'https://' . substr($contact['xchan_addr'],strpos($contact['xchan_addr'],'@')+1);
|
||||
|
@ -1 +1 @@
|
||||
2015-02-08.939
|
||||
2015-02-09.940
|
||||
|
Reference in New Issue
Block a user