Skip to content

[Bug] Unable to subscribe to HIBP breaches feed – “invalid XML, mismatched tag” error #7690

@drego85

Description

@drego85

To Reproduce

  1. Open Subscriptions → +Add
  2. Enter https://haveibeenpwned.com/feed/breaches/
  3. Leave all options at their default and click Add*

Expected behavior

The feed is accepted and the articles are fetched, as happens in Thunderbird, Feedbin and other readers.

FreshRSS version

1.26.3

System information

  • Database version: pdo_mysql
  • PHP version: 8.2.28
  • Installation type: GitHub Source
  • Web server type: Apache
  • Device: Computer
  • OS: Debian
  • Browser: Firefox

Additional context

Current behaviour

FreshRSS shows the error below and refuses to add the feed:

https://haveibeenpwned.com/feed/breaches/ is invalid XML, likely due to invalid characters.
XML error: Mismatched tag at line 75, column 509 [https://haveibeenpwned.com/feed/breaches/]

Feed excerpt around the failing line

...                                                      
<title>TehetségKapu - 54,357 breached accounts</title>  <!-- line 75 -->
...
<title>Fédération Francaise de Rugby - 281,977 breached accounts</title> <!-- line 59 -->

The second title also contains accented characters and does not trigger an error.

Request

Could you please advise how to debug this further, or confirm whether FreshRSS’ parser needs to be adjusted for this feed? Or should I report any errors to HiBP?

Thanks for your help!

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions