<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cross-origin redirects with preflight should be allowed"
href="https://bugs.webkit.org/show_bug.cgi?id=167521">167521</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cross-origin redirects with preflight should be allowed
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 10
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Platform
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>joeyparrish@google.com
</td>
</tr></table>
<p>
<div>
<pre>In August 2016, the Fetch spec was updated [1] to allow cross-origin HTTP redirects, even w/ preflight requests. All major browsers except Safari and Firefox have implemented the change. This is preventing users of Shaka Player from using HTTP redirects for load balancing [2]. Media applications that do this kind of load balancing currently cannot be run in Safari.
To reproduce, simply load the repro page [3] in Safari and wait a few seconds for the request to fire. You should see "OK, status = 200", indicating that the cross-origin redirect was followed. In Safari, you see "FAILED", indicating that the redirect was not allowed by the browser.
[1] <a href="https://github.com/whatwg/fetch/commit/0d9a4db8bc02251cc9e391543bb3c1322fb882f2">https://github.com/whatwg/fetch/commit/0d9a4db8bc02251cc9e391543bb3c1322fb882f2</a>
[2] <a href="https://github.com/google/shaka-player/issues/666">https://github.com/google/shaka-player/issues/666</a>
[3] <a href="http://storage.googleapis.com/shaka-demo-assets/_bugs/cors_redirect/index.html">http://storage.googleapis.com/shaka-demo-assets/_bugs/cors_redirect/index.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>