Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/fetch/resources/redirect-loop.php

Issue 2550363002: Add LayoutTests for URL list of Response (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/fetch/resources/redirect-loop.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/redirect-loop.php b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/redirect-loop.php
index 78fd9cb9b4c1ff695227cbe83c16f6d293529fba..3912c7b15843cb35f552113e78d2485feec70fe1 100644
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/redirect-loop.php
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/redirect-loop.php
@@ -5,10 +5,10 @@ if (isset($_GET['Count'])) {
$count = intval($_GET['Count']) - 1;
if ($count > 0) {
$url = $path .
- '?Redirect=' . rawurlencode($url) .
- '&Count=' . $count ;
+ '?Redirect=' . rawurlencode($url);
if (isset($_GET['ACAOrigin']))
$url .= '&ACAOrigin=' . $_GET['ACAOrigin'];
+ $url .= '&Count=' . $count ;
}
}
header("Location: $url");

Powered by Google App Engine
This is Rietveld 408576698