Avoid getting stuck in a loop
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This prevents a case where we make a request to URL A, which 301s to B which would then 301 back to A. Alternatively, for less simple schemes, this will also prevent us from getting stuck in a loop, e.g., it will prevent the following from causing an endless loop: A -> B -> C -> D -> E -> F -- ^ \ | / ---<------------<----------<-
authored by Ian Cordasco · committed by Ian Cordasco · parent d28d45a · Browse files · 1 file+6 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+6 added−1 removed
- other:+6 added−1 removed