Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly authorize websockets in CSP header #597

Merged
merged 1 commit into from
Sep 9, 2016

Conversation

astorije
Copy link
Member

@astorije astorije commented Sep 9, 2016

Fixes #580.

This follows a recent change in WebKit (see https://webkit.org/blog/6830/a-refined-content-security-policy/, section "More restrictive wildcard *") to remove websocket schemes from the connect-src directive.
Users of Safari v10 (to be publicly released in a few days) would be affected by this and could not load the app.

Ping @Gilles123 to test this.

This follows a recent change in WebKit (see https://webkit.org/blog/6830/a-refined-content-security-policy/, section "More restrictive wildcard *") to remove websocket schemes from the connect-src directive.
Users of Safari v10 (to be publicly released in a few days) would be affected by this and could not load the app.
@astorije astorije added this to the 2.0.0 milestone Sep 9, 2016
@astorije astorije added Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. second review needed labels Sep 9, 2016
@maxpoulin64
Copy link
Member

👍

@Gilles123
Copy link
Contributor

Tested Safari 10 on MacOS Sierra GM build and Safari on iOS 10 GM build, works fine.

@astorije astorije merged commit 99640e0 into master Sep 9, 2016
@astorije astorije deleted the astorije/fix-safari-10-csp branch September 9, 2016 05:40
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
…0-csp

Explicitly authorize websockets in CSP header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants