Set test conditions closer to conversion redirect in LayoutTests/http/tests/adClickAt...
[WebKit-https.git] / LayoutTests / http / tests / adClickAttribution / resources / redirectToConversion.php
1 <?php
2 header("HTTP/1.0 302 Found");
3 header("Cache-Control: no-cache, no-store, must-revalidate");
4 if (isset($_GET["conversionData"]) && isset($_GET["priority"])) {
5   header("Location: /.well-known/ad-click-attribution/" . $_GET["conversionData"] . "/" . $_GET["priority"]);
6 } else if (isset($_GET["conversionData"])) {
7   header("Location: /.well-known/ad-click-attribution/" . $_GET["conversionData"]);
8 }
9 ?>