-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
EventSource fallback will not work with IE versions that support CSP #14286
Labels
Milestone
Comments
cc @icewind1991 fyi |
The EventSource fallback just doesn't work period.
I'm saying this in hope that the oC team will consider replacing OC_EventSource with a maintained polyfill and perhaps raise an issue there regarding upcoming changes in IE. |
@jnfrmarks Has this been tested? |
This was referenced Apr 14, 2015
@jnfrmarks Can you test? |
Can you please give this a try? |
LukasReschke
added a commit
that referenced
this issue
Jul 21, 2015
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
I've tested Pictures with Azure RemoteApp and it crashes the browser. |
LukasReschke
added a commit
that referenced
this issue
Sep 10, 2015
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
LukasReschke
added a commit
that referenced
this issue
Sep 10, 2015
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
This was referenced Sep 10, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With TP Microsoft is considering supporting the Content-Security-Policy, however it will most likely still not support EventSource's. Our fallback relies on Inline JavaScript and everything in regard to EventSource (Updating / Files handling / Gallery / etc…) will fail horribly once MS ships TP…
We need to adjust the CSP (maybe #13989 can help here) or somehow differently fix this behaviour…
The text was updated successfully, but these errors were encountered: