Add and remove cookie partition accordingly in intermediary redirect requests
[WebKit-https.git] / LayoutTests / http / tests / resourceLoadStatistics / resources / redirect.php
1 <?php
2 $redirectURL = $_GET["redirectTo"];
3 if (isset($_GET["name2"])) {
4     $redirectURL = $redirectURL . "&name2=" . $_GET["name2"];
5 }
6 if (isset($_GET["name3"])) {
7     $redirectURL = $redirectURL . "&name3=" . $_GET["name3"];
8 }
9 if (isset($_GET["message"])) {
10     $redirectURL = $redirectURL . "&message=" . $_GET["message"];
11 }
12 header('Location: ' . $redirectURL);
13 die();
14 ?>