Flipez / hubot-rss-rolf

RSS Reader on Hubot

Home Page:https://www.npmjs.org/package/hubot-rss-rolf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deleting feeds with a trailing slash

localguru opened this issue · comments

Hi Robert,

I had some problems today to remove an URL which I added with a trailing slash. RocketChat doesn't display a trailing slash and rss list doesn't show it. So if you want to delete the URL later and don't remember the trailing slash the URL is not found ;)

See here: RocketChat/Rocket.Chat#7527

I would classify this as a RocketChat problem, but if deleting an URL a workaround could be to test both versions of an URL with and without a trailing slash.

Ciao!

@localguru I've fixed the check and it should now delete both with and without the trailing slash.

The fix is published with version 1.1.1 to npm

Due to the lack of tests please let me know if this works 🤔

Also I'am very new to coffeescript so this might not the best fix. PRs welcome

@Flipez Thanks, Robert! 👍 I will test and give you feedback.

It's working perfectly, nice! 🥇