Issue 8866: Fix fetching feed links with missing base

This commit is contained in:
Michael 2020-07-12 12:45:34 +00:00
parent 09bb0dff42
commit 81928727f2
2 changed files with 24 additions and 0 deletions

View file

@ -337,6 +337,10 @@ class Feed
$item["uri"] = $item["plink"];
}
// Add the base path if missing
$item["uri"] = Network::addBasePath($item["uri"], $basepath);
$item["plink"] = Network::addBasePath($item["plink"], $basepath);
$orig_plink = $item["plink"];
$item["plink"] = Network::finalUrl($item["plink"]);