1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-03-17 14:09:39 +01:00
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
..
2017-07-29 19:55:12 +02:00
2016-11-09 19:10:40 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00