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

getContentSecurityPolicyNonceManager #360

Open
genelatham opened this issue Feb 18, 2019 · 1 comment
Open

getContentSecurityPolicyNonceManager #360

genelatham opened this issue Feb 18, 2019 · 1 comment

Comments

@genelatham
Copy link

FIrst my apologies if this has been addressed; but, I could not find it.

I just upgraded to Owncloud version 10.0.10 and can't get ownnote to work. I down loaded the current version from github and installed it and enabled it. I shows up in the Owncloud menu but when I try to open it I just get a blank page.

In the log I have the following message:
"Call to undefined method OC\Server::getContentSecurityPolicyNonceManager() at /var/www/owncloud/apps/ownnote/templates/main.php#21"

Does anyone know how to resolve this problem?

@ArtemiisFowl
Copy link

ArtemiisFowl commented May 15, 2020

I have the same issue.
Fixed by manipulating templates/main.php, change
<input type="hidden" name="nextNonce" id="nextNonce" value="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" />
into
<input type="hidden" name="nextNonce" id="nextNonce" value="" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants