Does anyone know about the browser’s policy about multiple HTTP 302 redirections?
Example in steps:
- On domain A user clicks on a link and lands on Domain B
- On domain B he is auto-redirected to domain C
- On domain C he is auto-redirected to domain D which is the final destination
So basically we have 2 auto redirection happening here (B => C and C => D).
It’s not a fraud, serving ads or something, there are just 2 apps in between that are doing some additional processing.
So basically my question is, is this something that browsers would block?
Thanks in advance.
Advertisement
Answer
As far as I know, there is no way to block this functionality.
More importantly, doing so would break a very basic functionality that Web Servers rely on. You can expect a lot of websites to just stop working.
At a bare minimum, – all ‘www’, ‘HTTP-to-HTTPS’ redirects would stop working.
For example: http://www.yourdomain.com -> https://yourdomain.com
Beyond that, many subpages within websites would stop functioning as well.
So I would not be surprised if Chrome and Firefox developers make it very difficult or impossible to disable Redirects altogether at the browser level.
Edit:
But to stop infinite redirect (bug), all browsers set redirect limits.
- Chrome: 20
- Firefox: 20
- Safari: option to change this
- More details