You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to malformed CSP, a bunch of JS files cannot be loaded. Excerpt from the web inspector (URLs redacted):
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
Source: event.preventDefault() 4 [Daw4...](https://cloud.example.org/index.php/s/Daw4...)
Loading failed for the <script> with source “https://cloud.example.org/apps/theming/js/theming.js?v=116e031d-0”.
Loading failed for the <script> with source “https://cloud.example.org/dist/core-files_fileinfo.js?v=116e031d-0”.
...
This causes follow-on problems:
Uncaught TypeError: OC.Files is undefined
7913 client.js:1004
Webpack 5
[client.js:1004:7](webpack:///nextcloud/core/src/files/client.js)
... and a lot more.
This ultimately causes the page to refresh and not display any of the files.
This Nextcloud installation has been running for years and is kept updated (currently 28.0.1). All apps are also up to date.
Bug description
Due to malformed CSP, a bunch of JS files cannot be loaded. Excerpt from the web inspector (URLs redacted):
This causes follow-on problems:
... and a lot more.
This ultimately causes the page to refresh and not display any of the files.
This Nextcloud installation has been running for years and is kept updated (currently 28.0.1). All apps are also up to date.
Steps to reproduce
Expected behavior
Page should not refresh and show the files
Installation method
None
Nextcloud Server version
28
Operating system
None
PHP engine version
None
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: