mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[ParameterValidator] Ignore cache-busting param (#1723)
This commit is contained in:
parent
d299adb827
commit
3a29347e60
@ -135,6 +135,9 @@ class ParameterValidator {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
foreach($data as $name => $value) {
|
foreach($data as $name => $value) {
|
||||||
|
// Some RSS readers add a cache-busting parameter (_=<timestamp>) to feed URLs, detect and ignore them.
|
||||||
|
if ($name === '_') continue;
|
||||||
|
|
||||||
$registered = false;
|
$registered = false;
|
||||||
foreach($parameters as $context => $set) {
|
foreach($parameters as $context => $set) {
|
||||||
if(array_key_exists($name, $set)) {
|
if(array_key_exists($name, $set)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user