3 ms·
threadreaderapp is fast and almost always works unlike Twitter links that simply show "try again" because I block referer headers from being sent to their serve
by ignoramous 7y ago
threadreaderapp is fast and almost always works unlike Twitter links that simply show "try again" because I block referer headers from being sent to their servers.
> Our CSRF protection mechanism for POST requests checks that the origin and referer headers of the request are sourced from Twitter. Since we knew this to be effective for POSTs, we considered how we could implement this for GET requests.
> This proved effective in addressing the vulnerability, but it prevented this initial load of the website. You might load Twitter from a Google search result or by typing the url into the browser. To address this case, we created a blank page on twitter.com which did nothing but reload itself. Upon reload, the referer would be set to twitter.com, and so it would load correctly.
https://blog.twitter.com/engineering/en_us/topics/insights/2018/twitter_silhouette.html https://blog.twitter.com/engineering/en_us/topics/insights/2...
- kohtatsu 7y agoWow that's actually horrid.