forked from GNUsocial/gnu-social
Note that we should handle relative URIs
This commit is contained in:
@@ -106,6 +106,8 @@ class LinkbackPlugin extends Plugin
|
|||||||
$pb = $this->getPingback($result);
|
$pb = $this->getPingback($result);
|
||||||
if (!empty($pb)) {
|
if (!empty($pb)) {
|
||||||
$this->pingback($result->final_url, $pb);
|
$this->pingback($result->final_url, $pb);
|
||||||
|
// XXX: Should handle relative-URI resolution in these detections
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$tb = $this->getTrackback($result);
|
$tb = $this->getTrackback($result);
|
||||||
if (!empty($tb)) {
|
if (!empty($tb)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user