Note that we should handle relative URIs

This commit is contained in:
Stephen Paul Weber 2015-10-14 16:13:25 -05:00
parent 8edc5148d9
commit e4892d21b1

View File

@ -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)) {