-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Closed
Labels
Content:HTTPHTTP docsHTTP docshelp wantedIf you know something about this topic, we would love your help!If you know something about this topic, we would love your help!
Description
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/connect-src has a note:
This is I think out of date but it refers to an interesting spec change that we should document: w3c/webappsec-csp@0e81d81.
http:is not equivalent tohttp: https:, andws:tows: wss:.
Likewise, handling for'self'now includeshttps:andwss:on
the protected resource's host.
(I think "not" above should be "now")
The idea I think is that:
- if you specify
http:as the scheme in a source expression, the browser will allowhttps: - if you specify
ws:as the scheme in a source expression, the browser will allowwss: - if you specify
'self'in a source expression, thenwss:is allowed for the scheme if the rest of the origin matches
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Content:HTTPHTTP docsHTTP docshelp wantedIf you know something about this topic, we would love your help!If you know something about this topic, we would love your help!