mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 15:47:32 +02:00
[index.php] Filter parameter '_error_time' from queries
The parameter is used in error feeds. Since RSS-Bridge returns valid feeds for error conditions, feed readers may attempt to access the URI returned for the feed item in order to collect additional data, thus including the parameter '_error_time' in the query. This results in another error message, because it is an invalid input parameter. Filtering the parameter allows RSS-Bridge to return the original feed. References #882
This commit is contained in:
@@ -202,6 +202,7 @@ try {
|
|||||||
'format',
|
'format',
|
||||||
'_noproxy',
|
'_noproxy',
|
||||||
'_cache_timeout',
|
'_cache_timeout',
|
||||||
|
'_error_time'
|
||||||
), '')
|
), '')
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -214,6 +215,7 @@ try {
|
|||||||
'format',
|
'format',
|
||||||
'_noproxy',
|
'_noproxy',
|
||||||
'_cache_timeout',
|
'_cache_timeout',
|
||||||
|
'_error_time'
|
||||||
), '')
|
), '')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user