Skip to content

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

Merged
DeepDiver1975 merged 1 commit into
stable8.1from
stable8.1-backport-17791
Sep 24, 2015
Merged

DeepDiver1975 merged 1 commit into
stable8.1from
stable8.1-backport-17791

Conversation

@LukasReschke

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@karlitschek

Copy link
Copy Markdown
Contributor

👍

@MorrisJobke

Copy link
Copy Markdown
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