[akregator] [Bug 450650] New: URL encoded chars in feed-entry-link-href become invalid - replaced by question marks
Delian Krustev
bugzilla_noreply at kde.org
Mon Feb 21 13:13:58 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=450650
Bug ID: 450650
Summary: URL encoded chars in feed-entry-link-href become
invalid - replaced by question marks
Product: akregator
Version: 5.15.3
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: feed parser
Assignee: kdepim-bugs at kde.org
Reporter: krustev at krustev.net
Target Milestone: ---
SUMMARY
The Atom feed can be seen here:
https://blog.krustev.net/atom.xml
Here's a feed entry:
<entry>
<id>https://blog.krustev.net/blog/%D0%97%D0%B0+%D0%B7%D0%B0%D0%BF%D0%B5%D1%82%D0%B0%D0%B9%D0%BA%D0%B8%D1%82%D0%B5</id>
<title>За запетайките</title>
<published>2022-02-15T16:44:29+02:00</published>
<updated>2022-02-15T16:44:29+02:00</updated>
<link rel="alternate" type="text/html"
href="https://blog.krustev.net/blog/%D0%97%D0%B0+%D0%B7%D0%B0%D0%BF%D0%B5%D1%82%D0%B0%D0%B9%D0%BA%D0%B8%D1%82%D0%B5"/>
<summary>Нужно ли е да има толкова много правила за поставяне на запетайки
?</summary>
</entry>
The URLs of the blog are user controlled and they can contain all sort of chars
like international language, question marks, double quotes, gt, lt, etc.
Thus the links have to be URL encoded in order to be valid.
STEPS TO REPRODUCE
1. Create an article with a URL which needs URL encoding.
2. Open the article in Akregator
3. Right click on "Complete story" and "Copy the link address"
OBSERVED RESULT
When copied the following text gets into the clipboard:
https://blog.krustev.net/blog/??+???????????
And is displayed the same way on the status bar when "hovered" (with all
percent encoded chars as question marks) .
EXPECTED RESULT
The link should be displayed as URL decoded in the status bar:
https://blog.krustev.net/blog/За+запетайките
And the encoded link should be "copied" or passed to the browser when clicked.
Various other feeds work with these links as expected. E.g. gnome-feeds,
liferea.
Web based ones also: feedly.com, feedburner.com, feeder.co
SOFTWARE/OS VERSIONS
Up-to-date versions from Debian BullsEye:
KDE Plasma Version: kde-plasma-desktop version 5:111
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list