Skip to content

[stable8] Add custom CSP for Win 10 compatibility - #18958

Merged
MorrisJobke merged 1 commit into
stable8from
stable8-backport-17791
Oct 9, 2015
Merged

MorrisJobke merged 1 commit into
stable8from
stable8-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
@karlitschek

Copy link
Copy Markdown
Contributor

backport is fine! 👍

@MorrisJobke

Copy link
Copy Markdown
Contributor

Tested and works 👍

MorrisJobke added a commit that referenced this pull request Oct 9, 2015
[stable8] Add custom CSP for Win 10 compatibility
@MorrisJobke
MorrisJobke merged commit 4214df7 into stable8 Oct 9, 2015
@MorrisJobke
MorrisJobke deleted the stable8-backport-17791 branch October 9, 2015 13:25
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 9, 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.

3 participants