summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorwrwrwr <git@wr.waw.pl>2014-10-17 15:46:42 +0200
committerTim Graham <timograham@gmail.com>2014-11-25 10:12:28 -0500
commit056a3c6c374f15e23746ea8568cd5b11bfe7d442 (patch)
tree528710827a03490d2fa4d3d630c5ab31828905a5 /tests/postgres_tests
parenta973fb2d68f2e23e599a601fdaec13d129207e9f (diff)
Fixed #23682 -- Enhanced circular redirects detection in tests.
When the test client detects a redirect to a URL seen in the currently followed chain it will now raise a RedirectCycleError instead of just returning the first repeated response. It will also complain when a single chain of redirects is longer than 20, as this often means a redirect loop with varying URLs, and even if it's not actually one, such long chains are likely to be treated as loops by browsers. Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews.
Diffstat (limited to 'tests/postgres_tests')
0 files changed, 0 insertions, 0 deletions