forked from blallo/rss-bridge
066ef1d7db
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 |
||
---|---|---|
.. | ||
Authentication.php | ||
Bridge.php | ||
BridgeAbstract.php | ||
BridgeInterface.php | ||
Cache.php | ||
CacheInterface.php | ||
Configuration.php | ||
contents.php | ||
error.php | ||
Exceptions.php | ||
FeedExpander.php | ||
Format.php | ||
FormatAbstract.php | ||
FormatInterface.php | ||
html.php | ||
RssBridge.php | ||
validation.php |