Skip to content

Commit aa394cf

Browse files
committed
Add Last-Event-ID as CORS-safelisted request-header
It turns out that you can set the Last-Event-ID request header to arbitrary values and get it across origins. That seems like sufficient reason to safelist it and hopefully make it clear to server administrators to pay extra attention to this header. Tests: ... Fixes #568.
1 parent 9fa071b commit aa394cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fetch.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ whose <a for=header>name</a> is a <a>byte-case-insensitive</a> match for one of
426426
<a lt="extract header values">once extracted</a>, has a MIME type (ignoring parameters)
427427
that is `<code>application/x-www-form-urlencoded</code>`,
428428
`<code>multipart/form-data</code>`, or `<code>text/plain</code>`
429+
<li>`<code>Last-Event-ID</code>`
429430
</ul>
430431
<!-- XXX * needs better xref
431432
* ignoring parameters has been the standard for a long time now

0 commit comments

Comments
 (0)