yang991178 / fluent-reader

Modern desktop RSS reader built with Electron, React, and Fluent UI
https://hyliu.me/fluent-reader/
BSD 3-Clause "New" or "Revised" License
7.79k stars 425 forks source link

fix: prevent source duplication #557

Open huyenltnguyen opened 1 year ago

huyenltnguyen commented 1 year ago

The app is currently treating URL with a trailing slash and URL without a trailing slash as different sources, and this can cause duplication.

I'm fixing the issue by finding and removing the trailing slash before the addSource operation is executed.

Tested locally with the following URLs: