-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Bookmarks page blank due to CSP #613
Comments
Ah, here we go. nextcloud/server#11045 |
Thanks for the response. Is there any suggestions for what I can do to alleviate this issue in Nextcloud? For now I am using a separate browser with CSP disabled entirely but that's not very safe. |
You could try to hack your way around the nextcloud CSP rules somehow (i.e. prevent the server from sending those headers), or you could roll back to nextcloud v14. In any case you'll have to wait until there's a fix for the bookmarks app, for compatibility with nextcloud v15. Note to self: This appears to be a relatively simple fix: https://security.stackexchange.com/questions/88610/problem-in-underscore-js-with-new-function-when-csp-header-is-set Precompilation would also be an option: https://lodash.com/custom-builds |
Alright, seems outside my scope of knowledge and nothing important is affected so I'll bide my time happily. :) Thanks again! |
Steps to reproduce
Expected behaviour
Bookmarks should load and be displayed
Actual behaviour
Page stays blank and Firefox console shows errors relating to Content-Security-Policy.
Both are tied to main.bundle.js.
Server configuration
Operating system: Ubuntu 16.04
Web server: Apache
Database:
PHP version:
Nextcloud version: 15.0 rc2
Bookmarks version: 0.14.2
Updated from an older Nextcloud or fresh install: Fresh install
Signing status:
The text was updated successfully, but these errors were encountered: