[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:
logmanoriginal 2018-11-02 11:05:46 +01:00
parent c4896c7791
commit e2dfea2b77

View file

@ -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'
), '') ), '')
); );