Don't use the GUID value directly
This commit is contained in:
parent
b98243826f
commit
7940b31685
|
@ -310,7 +310,9 @@ class Feed
|
|||
$guid = XML::getFirstNodeValue($xpath, 'guid/text()', $entry);
|
||||
if (!empty($guid)) {
|
||||
$item["uri"] = $guid;
|
||||
$item["guid"] = $guid;
|
||||
|
||||
// Don't use the GUID value directly but instead use it as a basis for the GUID
|
||||
$item["guid"] = Item::guidFromUri($guid, parse_url($guid, PHP_URL_HOST) ?? parse_url($item["plink"], PHP_URL_HOST));
|
||||
}
|
||||
|
||||
if (empty($item["uri"])) {
|
||||
|
|
Loading…
Reference in a new issue