-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache busting parameters from RSS readers break bridges #1701
Comments
The easiest way to handle this would be to add an if statement to the foreach loop in e.g: /*
Some RSS readers add a cache-busting parameter (_=<timestamp>) to feed URLs, detect and ignore them.
*/
if ($name === '_') {
continue;
} Out of interest, @JasonGhent, what RSS reader are you using? This isn't an issue or RSS reader behavior I've seen before. |
@VerifiedJoseph I'm using NewsBlur. I think I recall seeing this in another reader in the past (TTRSS, maybe?), but I do admit it's on the client moreso than the rss-bridge to fix it. That said, I thought it makes sense to at least document it (and a potential fix) here. |
Here is example, how I dealed with unneeded parameter: #894
Why that's suboptimal? |
Extra pageload and associated networking overhead compared to using the way @VerifiedJoseph showed. |
I see. Then I agree with @VerifiedJoseph's solution. |
Describe the bug
Some readers implement cache-busting logic in the form of appending a
&_=<timestamp>
query parameter to sequential requests. Appropriately, this is interpreted by the BridgeAbstract as a parameter to pass to the bridge. Unfortunately, this breaks some bridges.To Reproduce
Steps to reproduce the behavior:
&_=123
to any bridge request.Expected behavior
The bridge abstract should ignore unexpected parameters. Or strip cache-busting earlier in the execution process.
Desktop (please complete the following information):
Additional context
Can fix it by adding a stripping redirect on the index.php file, but that's suboptimal.
The text was updated successfully, but these errors were encountered: