-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
<guid> matching of entries is done case-insensitively, should be case-sensitive #2077
Copy link
Copy link
Closed
Labels
Feed problem 🗞️Feeds that have issues while loading/reading in FreshRSSFeeds that have issues while loading/reading in FreshRSSImportant 🔥
Milestone
Description
I have an RSS feed which summarises URLs produced by a URL-shortening service. The of each entry in the feed is the shortened URL, each of which is unique. However, FreshRSS discards those where the guid matches that of an existing guid, even where they differ in case.
E.g. the following feed:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom'>
<channel>
<item>
<title>An Oral History of ‘Leisure Suit Larry’ – MEL Magazine</title>
<description></description>
<link>https://melmagazine.com/an-oral-history-of-leisure-suit-larry-ef41bc374802</link>
<guid>https://url-shortening-service/Mw</guid>
<pubDate>Sat, 04 Aug 2018 18:52:06 -0000</pubDate>
</item>
<item>
<title>The Web That Never Was - Dylan Beattie - YouTube</title>
<description></description>
<link>https://www.youtube.com/watch?v=j51Fmn4JVwU</link>
<guid>https://url-shortening-service/MW</guid>
<pubDate>Sat, 04 Aug 2018 13:14:21 -0000</pubDate>
</item>
</channel>
</trr>
When imported into FreshRSS produces only ONE entry in the database: it appears that the guids are being compared in a case-insensitive manner.
This is incorrect behaviour because (with the exception of the protocol and domain name parts) URLs, which are often used as guids, are NOT (necessarily) case-sensitive.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feed problem 🗞️Feeds that have issues while loading/reading in FreshRSSFeeds that have issues while loading/reading in FreshRSSImportant 🔥