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

[stable8.1] Add custom CSP for Win 10 compatibility #18957

Merged
merged 1 commit into from
Sep 24, 2015

Conversation

LukasReschke
Copy link
Member

The default content-security-policy of ownCloud forbids inline
JavaScript for security reasons. IE starting on Windows 10 will
however also obey the CSP which will break the event source fallback.
As a workaround thus we set a custom policy which allows the execution
of inline JavaScript.

This fixes #14286

Backport of #17791

cc @karlitschek

The default content-security-policy of ownCloud forbids inline
JavaScript for security reasons. IE starting on Windows 10 will
however also obey the CSP which will break the event source fallback.
As a workaround thus we set a custom policy which allows the execution
of inline JavaScript.

This fixes #14286
@SergioBertolinSG
Copy link
Contributor

Working fine. 👍
Tested using upgrade to 8.1.2+this patch and checking the headers of the csp.

@karlitschek
Copy link
Contributor

👍

@MorrisJobke
Copy link
Contributor

@DeepDiver1975 Should we retrigger CI or simply merge?

DeepDiver1975 added a commit that referenced this pull request Sep 24, 2015
[stable8.1] Add custom CSP for Win 10 compatibility
@DeepDiver1975 DeepDiver1975 merged commit c4667d5 into stable8.1 Sep 24, 2015
@DeepDiver1975 DeepDiver1975 deleted the stable8.1-backport-17791 branch September 24, 2015 19:06
@lock lock bot locked as resolved and limited conversation to collaborators Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants