
9/8/2015 · John Graham-Cumming
What this post added
This post details the debugging and resolution of an issue where the Twitter in-app browser failed to load Cloudflare-protected sites when transitioning from an HTTPS link in a tweet to an HTTP link on a Cloudflare customer's site. The root cause was identified as the Twitter app blanking out the Referer header, which violated RFC 7231. Cloudflare's Browser Integrity Check was flagging this as an error. The fix involved relaxing the Referer header check for this specific client behavior, demonstrating an adaptation of security policies to accommodate real-world client quirks while adhering to Postel's Law.