Skip to content
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

Content security policy violation #8145

Closed
nickvergessen opened this issue Feb 24, 2023 · 2 comments · Fixed by #8152
Closed

Content security policy violation #8145

nickvergessen opened this issue Feb 24, 2023 · 2 comments · Fixed by #8152
Assignees
Labels
2. developing bug nextcloud-gmbh Tickets with importance for Nextcloud Gmbh regression skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills

Comments

@nickvergessen
Copy link
Member

Steps to reproduce

1.c.nc.c after the upgrade to 26 beta5 with mail 3.0.0-alpha.0
Bildschirmfoto vom 2023-02-24 23-35-43

After cheating lib/public/AppFramework/Http/ContentSecurityPolicy.php to allow eval those errors are gone, but there is an other

Bildschirmfoto vom 2023-02-24 23-36-06

Expected behavior

Mail should work

Actual behavior

Mail only works on developer machines and there is a process thingy erroring

Mail app version

3.0.0-alpha.0

Mailserver or service

No response

Operating system

Ubuntu LTS 22.04

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

@nickvergessen nickvergessen added bug 0. to triage regression nextcloud-gmbh Tickets with importance for Nextcloud Gmbh skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills labels Feb 24, 2023
@nickvergessen
Copy link
Member Author

We "fixed" this by replacing apps/mail/js/mail.486.79bc1e80cfe84f6b82fd.js
find:

…if(process.env.NODE_DEBUG){var s=process.env.NODE_DEBUG…

with:

…if(false&&process.env.NODE_DEBUG){var s=process.env.NODE_DEBUG…

@kesselb
Copy link
Contributor

kesselb commented Feb 24, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing bug nextcloud-gmbh Tickets with importance for Nextcloud Gmbh regression skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills
Projects
Development

Successfully merging a pull request may close this issue.

3 participants