Bug 384835 - Crash on a feed with superfluous whitespace
Summary: Crash on a feed with superfluous whitespace
Status: RESOLVED WORKSFORME
Alias: None
Product: akregator
Classification: Applications
Component: feed parser (show other bugs)
Version: 5.2.3
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-19 04:05 UTC by Francois Marier
Modified: 2020-12-17 06:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Marier 2017-09-19 04:05:51 UTC
This feed crashes akregator when I try to add it:

  http://wp.rac.ca/recent-posts/

Feedvalidator.org (http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwp.rac.ca%2Ffeed%2F) identifies the following problem:

> This feed does not validate.
> 
> - line 1, column 1: Blank line before XML declaration [help]
> 
> Source: http://wp.rac.ca/feed/
> 
> 01     
> 02     
> 03     
> 04     
> 05    <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
> 06    xmlns:content="http://purl.org/rss/1.0/modules/content/"
> 07    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
Comment 1 Allen Winter 2017-09-25 17:28:23 UTC
5.2.3 is pretty old.
In the current version I don't get a crash. I get a popup saying the feed doesn't exist when trying to add http://wp.rac.ca/feed/
Comment 2 Justin Zobel 2020-12-17 05:31:27 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Francois Marier 2020-12-17 06:52:09 UTC
The feed is now valid: https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwp.rac.ca%2Ffeed%2F

but it doesn't work in akregator (feed doesn't exist as per comment 1). I guess that's a different problem.

There is no crash in akregator 5.15.2.