Hey there,
since a few commits (I'm always on master), I have the weird Issue, that all my bridge feed URLs don't work anymore. Example:
Link to the bridge that I used (for like forever): https://my.host.name/rss-bridge/?action=display&bridge=SoundcloudBridge&u=conscious-embassy&format=AtomFormat
Error message:
The bridge you looking for does not exist. It should be at path /var/www/my.host.name/rss-bridge/lib/../bridges/SoundcloudBridgeBridge.php
If I use the current UI to get the feed URL, it returns: https://my.host.name/rss-bridge/?action=display&bridge=Soundcloud&u=conscious-embassy&format=AtomFormat (notice: bridge=Soundcloud instead of bridge=SoundcloudBridge). With this URL it actually works.
That's a rather breaking change, don't you think? This basically means I have to adjust EVERY (rss-bridge) feed URL inside of my feedreader. Is this an error or am I missing something?
Cheers & Thanks
Thomas
@LogMANOriginal https://github.com/RSS-Bridge/rss-bridge/commit/e26d61ec0ac0659244ac68ccb0f832e89f043c7a#diff-828e0013b8f3bc1bb22b4f57172b019d
See lines 115-119 in previous version of index.php
Thanks for reporting this issue!
@em92 is correct, the issue was likely caused by that commit. Actually, bridge names are now sanitized from within the Bridge class: https://github.com/RSS-Bridge/rss-bridge/blob/dd95ec6200df1cfbcf0ef0bce06e167a72ed7c41/lib/Bridge.php#L136-L167
Technically lines 149-152 should take care of this:
I'll see what I can do.
Should be fixed!
I can confirm that! Thanks! :)
Cheers
Thomas
Most helpful comment
@LogMANOriginal https://github.com/RSS-Bridge/rss-bridge/commit/e26d61ec0ac0659244ac68ccb0f832e89f043c7a#diff-828e0013b8f3bc1bb22b4f57172b019d
See lines 115-119 in previous version of index.php