Skip to content

Commit

Permalink
Allow for redirects after a CORS-preflight
Browse files Browse the repository at this point in the history
Note that the redirect will itself trigger another CORS-preflight.
However, this can be reduced with a future feature that hands out a
CORS-preflight policy for an entire origin.

Fixes #204.
  • Loading branch information
annevk committed Aug 4, 2016
1 parent 8510b2f commit 0d9a4db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -2487,9 +2487,7 @@ <h3 id="main-fetch"><span class="secno">5.1 </span>Main fetch</h3>
<dd>
<p>Set <var>request</var>'s
<a href="#concept-request-response-tainting" title="concept-request-response-tainting">response tainting</a> to
"<code title="">cors</code>" and <var>request</var>'s
<a href="#concept-request-redirect-mode" title="concept-request-redirect-mode">redirect mode</a> to
"<code title="">error</code>".
"<code title="">cors</code>".
<p>The result of performing an <a href="#concept-http-fetch" title="concept-http-fetch">HTTP fetch</a> using
<var>request</var> with the <i title="">CORS flag</i> and
<i title="">CORS-preflight flag</i> set. If the result is a
Expand Down Expand Up @@ -5670,6 +5668,7 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
Mike West,
Mohamed Zergaoui,
Ms2ger,
Nico Schlömer,
Nikhil Marathe,
Nikki Bee,
Nikunj Mehta,
Expand Down Expand Up @@ -5700,7 +5699,7 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
Wayne Carr,
Xabier Rodríguez,
Yoav Weiss,
Youenn Fablet,
Youenn Fablet<!-- youennf -->,
平野裕 (Yutaka Hirano), and
Zhenbin Xu
for being awesome.
Expand Down
7 changes: 3 additions & 4 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -2415,9 +2415,7 @@ <h3>Main fetch</h3>
<dd>
<p>Set <var>request</var>'s
<span title=concept-request-response-tainting>response tainting</span> to
"<code title>cors</code>" and <var>request</var>'s
<span title=concept-request-redirect-mode>redirect mode</span> to
"<code title>error</code>".
"<code title>cors</code>".
<p>The result of performing an <span title=concept-http-fetch>HTTP fetch</span> using
<var>request</var> with the <i title>CORS flag</i> and
<i title>CORS-preflight flag</i> set. If the result is a
Expand Down Expand Up @@ -5506,6 +5504,7 @@ <h2 class=no-num>Acknowledgments</h2>
Mike West,
Mohamed Zergaoui,
Ms2ger,
Nico Schlömer,
Nikhil Marathe,
Nikki Bee,
Nikunj Mehta,
Expand Down Expand Up @@ -5536,7 +5535,7 @@ <h2 class=no-num>Acknowledgments</h2>
Wayne Carr,
Xabier Rodríguez,
Yoav Weiss,
Youenn Fablet,
Youenn Fablet<!-- youennf -->,
平野裕 (Yutaka Hirano), and
Zhenbin Xu
for being awesome.
Expand Down

0 comments on commit 0d9a4db

Please sign in to comment.