Bug 508014

Summary: XML Base not implemented correctly for Atom feeds
Product: [Applications] akregator Reporter: Anna Aurora <anna>
Component: feed parserAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Anna Aurora 2025-08-08 12:31:26 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Add an Atom feed that makes use of XML Base (e.g. https://annaaurora.eu/atom.xml)
2. fetch feed
3.  open article/entry in feed
4. click "Complete Story" link

OBSERVED RESULT
opens the XML Base attribute content/URI of the feed's top level element in web browser/maybe doesn't do anything if the top level element does not have an xml:base attribute.

EXPECTED RESULT
opens the article in web browser, calculating it's URI correctly according to the XML Base specification.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
see https://validator.w3.org/feed/docs/rfc4287.html#rfc.section.2 or the friendlier version at https://validator.w3.org/feed/docs/atom.html#link:

> xml:base may be used to control how relative URIs are resolved.