MozillaZine

Network.http.redirection-limit

From MozillaZine Knowledge Base

Contents

Background

HTTP is the application-layer protocol that most web pages are transferred with. As part of the HTTP specification, servers can send redirects - an instruction that the browser should try to get the content from another URL. Because one URL could redirect to another and the other could redirect to the first, causing an infinite loop, a limit is placed on how many redirects can occur on one request. This preference controls that limit.

When the redirection limit is reached, you will get one of the following messages:

  • The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete. Have you disabled or blocked cookies required by this site? NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.
  • Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
  • Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.

Possible values and their effects

Maximum number of redirects to follow per request. Default: 20.

Caveats

  • This preference affects only HTTP redirects, not redirects with HTML meta tags or JavaScript.

First checked in

2001-12-07 by Darin Fisher

Has an effect in

  • Netscape (all versions since 7.0)
  • Mozilla Suite (all versions since 0.9.7)
  • Phoenix (all versions)
  • Firebird (all versions)
  • Firefox (all versions)
  • Thunderbird (all versions)
  • Minimo (all versions)
  • SeaMonkey (all versions)

Related bugs