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!
It's working perfectly, nice!