Problem/Motivation

Found during Claude assisted code review

Node items in the feed get relative links such as <link>/node/1</link>. RSS requires absolute URLs, and KB's harvester cannot resolve relative links. Media items already use absolute URLs.

Steps to reproduce

  1. Enable the Node source and publish a node.
  2. Visit /eplikt/all: the item has <link>/node/1</link>.

Proposed resolution

Use $entity->toUrl('canonical', ['absolute' => TRUE]) in ThemeHooks::preprocessEpliktRssItem().

Issue fork eplikt-3637240

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

vannergard created an issue. See original summary.

vannergard’s picture

Issue summary: View changes

  • vannergard committed 9e5ba861 on 1.0.x
    fix: #3637240 Item links in the feed are relative instead of absolute...
vannergard’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.