Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Aug 16, 2019

Signed-off-by: Roeland Jago Douma [email protected]

@rullzer rullzer added the 2. developing Work in progress label Aug 16, 2019
@rullzer rullzer added this to the Nextcloud 17 milestone Aug 16, 2019
@rullzer rullzer mentioned this pull request Aug 18, 2019
@rullzer rullzer added 3. to review Waiting for reviews bug and removed 2. developing Work in progress labels Aug 18, 2019
@kesselb
Copy link
Contributor

kesselb commented Aug 18, 2019

Hmm. Code looks good. As per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-src nonce is supported 😕

@juliusknorr
Copy link
Member

@kesselb Probably a copy-paste issue since the description of the nonce seems to be related to inline scripts: "A whitelist for specific inline scripts..." At least firefox and chrome don't respect the nonce on frames.

@rullzer
Copy link
Member Author

rullzer commented Aug 19, 2019

@kesselb yeah it is listed everywhere (see for example also https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src ) but doesn't work yet...

@rullzer rullzer merged commit e6c225a into master Aug 19, 2019
@rullzer rullzer deleted the fix/frame-src/no-nonce branch August 19, 2019 07:22
@kesselb
Copy link
Contributor

kesselb commented Aug 19, 2019

Probably a copy-paste issue since the description of the nonce seems to be related to inline scripts

image

Indeed. They included the sources from "default-src" for "img-src" and "frame-src" 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants