Relative links do not resolve
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1k
- Forks
- 198
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 29
Description
IMPORTANT
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
- I have read the CONTRIBUTING.md and followed the provided tips
- I accept that the issue will be closed without comment if I do not check here
- I accept that the issue will be closed without comment if I do not fill out all items in the issue template.
Explain the Problem
What problem did you encounter?
Relative links the body of a feed item do not resolve. They become unclickable. Though the w3 RSS recommends against these kind of links for reader compatibility, they are considered valid for RSS.
I first noticed this on this feed:
https://wiki.xxiivv.com/links/log.xml
<item>
<link>https://wiki.xxiivv.com/site/2026.html#20N</link>
<pubDate>Thu, 2 Jul 2026 12:00:00 -0000</pubDate>
<title>Ulysses</title>
<description>
<p>DEVINE LU LINVEGA PLOPPED DOWN WITH a copy of Ulysses. Slouching, if only for a minute, waiting for the kettle, if it wasn't for that, pressure. Can never remember to piss before. Nookicky's on. Thoughing it out. Right, so Dedalus. What's he up to now, seven hundred pages of this, by Jove, what a chatty fellow that Joyce, Ireland window shopping. Nils in Dublin morelike. Chaps for geese. Something about money, pences, stones, fathom, bells? How's ol' Tom Nook doing. Cockroaches all over, gokiburi hoi! hoi! That greedy raccoon. Insatiable, wait. Did someone just die.</p> <p>—Half trying to start a conversation. The book? Mr. Bloom he, Nookicky's over, on goes Guniw Tools, no idea. Other Goose. What's it about?<br /> —It's good. I can feel my tongue now.</p> <ul> <li>Extended <a href='../site/metadata.html'>Metadata</a> to support the <a href='https://forum.malleable.systems/t/fearless-extensibility-extending-think-pascal/213' target='_blank'>manifest</a>.</li> <li>Implemented a kind of <a href='../site/m_pc.html'>Openfirmware for Uxn</a>.</li> <li><a href='../site/nebu.html'>Nebu</a> finally has a good file browser!</li> <li>Added a project mode to <a href='../site/drifblim.html'>Drifblim</a>.</li> <li>Enjoying Joyce's Ulysses.</li> </ul> <img src='../media/refs/hello.png' width='140'/>
</description>
</item>
This <a href='../site/metadata.html'>Metadata</a> should resolve to https://wiki.xxiivv.com/site/metadata.html but it does not.
It becomes <a target="_blank" rel="noreferrer">Metadata</a>.
Steps to Reproduce
Explain what you did to encounter the issue
- Open feed item containing a relative link
- Attempt to click one
- Nothing happens
System Information
- News app version: news 28.6.0
- Nextcloud version: Nextcloud Hub 26 Winter (33.0.5)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the linked RSS feed and inspect how feed-item HTML links are transformed before rendering. Compare the relative-link behavior with the expected absolute URL and verify that the rendered link is clickable without changing external links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100