Rss-Bridge/lib
logmanoriginal 066ef1d7db [contents] Add Cloudflare challenge detection
Adds detection for servers responding with Cloudflare challenges,
throwing a server error if detected:

"The server responded with a Cloudflare challenge, which is not
supported by RSS-Bridge! If this error persists longer than a week,
please consider opening an issue on GitHub!"

This is supposed to support maintainers to identify broken bridges
for sites with Cloudflare enabled permanently. It doesn't circumvent
the protection in any form or shape!

The Cloudflare challenge is detected by analyzing the last response
header received from the server. If the HTTP Code is not 200 (OK)
and the server name contains 'cloudflare' ('Server: cloudflare'),
RSS-Bridge assumes the server responded with a challenge.

The header parsing is based on https://stackoverflow.com/a/18682872
2018-07-21 17:43:29 +02:00
..
Authentication.php Add basic authentication support (#728) 2018-06-27 19:09:41 +02:00
Bridge.php [Bridge] Remove superfuous variables and statements 2017-08-06 00:04:07 +02:00
BridgeAbstract.php Implement customizable cache timeout (#641) 2018-03-14 18:06:36 +01:00
BridgeInterface.php Implement customizable cache timeout (#641) 2018-03-14 18:06:36 +01:00
Cache.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CacheInterface.php [cache] Specify cache duration for 'purgeCache' 2016-10-08 16:18:10 +02:00
Configuration.php [Configuration] Bump version to 2018-07-17 2018-07-17 20:44:01 +02:00
contents.php [contents] Add Cloudflare challenge detection 2018-07-21 17:43:29 +02:00
error.php [core] Fix typos 2016-11-09 19:10:40 +01:00
Exceptions.php Add recuperation of the current version from git if available (#731) 2018-06-30 10:24:22 +02:00
FeedExpander.php [phpcs] enforce single quotes (#732) 2018-06-29 22:55:33 +01:00
Format.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FormatAbstract.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FormatInterface.php [FormatInterface] Add missing public functions 2016-11-09 18:41:24 +01:00
html.php [phpcs] enforce single quotes (#732) 2018-06-29 22:55:33 +01:00
RssBridge.php Add basic authentication support (#728) 2018-06-27 19:09:41 +02:00
validation.php [validation] Fix error on undefined optional numeric value 2017-08-17 19:02:50 +02:00