You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CORS safelist is very tightly restricted. There are currently only 4 safe headers
Accept
Accept-Language
Content-Language
Content-Type
Even those are tightly restricted.
For Accept-Language and Content-Language: can only have values consisting of 0-9, A-Z, a-z, space or *,-.;=.
For Accept and Content-Type: can't contain a CORS-unsafe request header byte: "():<>?@[\]{}, Delete, Tab and control characters: 0x00 to 0x19.
For Content-Type: needs to have a MIME type of its parsed value (ignoring parameters) of either application/x-www-form-urlencoded, multipart/form-data, or text/plain.
For any header: the value’s length can't be greater than 128.
The length of all header values combined can't be greater than 1024
The last 2 restrictions are the ones that I think are the biggest issues
The text was updated successfully, but these errors were encountered:
plehegar
added
the
security-tracker
Group bringing to attention of security, or tracked by the security Group but not needing response.
label
Mar 27, 2020
Consensus is currently that this is very unlikely to happen, ever. We might want to revisit it at some time in the (far-ish) future if we see the header has become much more popular than it is today.
The CORS safelist is very tightly restricted. There are currently only 4 safe headers
Accept
Accept-Language
Content-Language
Content-Type
Even those are tightly restricted.
Accept-Language
andContent-Language
: can only have values consisting of0-9
,A-Z
,a-z
, space or*,-.;=
.Accept
andContent-Type
: can't contain a CORS-unsafe request header byte:"():<>?@[\]{},
Delete, Tab and control characters: 0x00 to 0x19.Content-Type
: needs to have a MIME type of its parsed value (ignoring parameters) of eitherapplication/x-www-form-urlencoded
,multipart/form-data
, ortext/plain
.The last 2 restrictions are the ones that I think are the biggest issues
The text was updated successfully, but these errors were encountered: