diff options
author | Nikki <nikkicubed@gmail.com> | 2016-01-19 17:44:44 -0700 |
---|---|---|
committer | Nikki <nikkicubed@gmail.com> | 2016-01-20 13:03:08 -0700 |
commit | 5426df32de859ba09343d4e63f2756242f37feed (patch) | |
tree | 9adb8bd384fe16f37037c0dff20a1c9ed3b9f2aa /components/net/fetch/methods.rs | |
parent | 6663f28f0de308c9365b360cd8ad9ee9e43127ee (diff) | |
download | servo-5426df32de859ba09343d4e63f2756242f37feed.tar.gz servo-5426df32de859ba09343d4e63f2756242f37feed.zip |
tests for boundary conditions on redirect_count in fetch
Diffstat (limited to 'components/net/fetch/methods.rs')
-rw-r--r-- | components/net/fetch/methods.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index f2e6b80d0a9..fc2b4a59683 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -298,7 +298,7 @@ fn http_fetch(request: Rc<Request>, }; // Step 7 - if request.redirect_count.get() == 20 { + if request.redirect_count.get() >= 20 { return Response::network_error(); } |