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

Fix detection of firefox in ContentSecurityPolicyNonceManager #33065

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

CarlSchwan
Copy link
Member

Reuse Request::USER_AGENT_FIREFOX, and also update the safari detection
since safari < 12 is not supported anymore and we can remove a bit of
code duplication

Thanks @fancycode for the finding

Fix #33045

Reuse Request::USER_AGENT_FIREFOX, and also update the safari detection
since safari < 12 is not supported anymore and we can remove a bit of
code duplication

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan CarlSchwan added the 3. to review Waiting for reviews label Jun 29, 2022
@CarlSchwan CarlSchwan requested review from kesselb and a team June 29, 2022 15:09
@CarlSchwan CarlSchwan self-assigned this Jun 29, 2022
@CarlSchwan CarlSchwan requested review from PVince81, ArtificialOwl and come-nc and removed request for a team June 29, 2022 15:09
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@szaimen szaimen added this to the Nextcloud 25 milestone Jun 29, 2022
Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care 👍

@szaimen szaimen added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 29, 2022
@blizzz blizzz merged commit 48d88a3 into master Jun 29, 2022
@blizzz blizzz deleted the fix/nonce-firefox-101 branch June 29, 2022 22:57
@CarlSchwan
Copy link
Member Author

/backport to stable24

@CarlSchwan
Copy link
Member Author

/backport to stable23

1 similar comment
@CarlSchwan
Copy link
Member Author

/backport to stable23

@backportbot-nextcloud
Copy link

The backport to stable23 failed. Please do this backport manually.

@szaimen
Copy link
Contributor

szaimen commented Jun 30, 2022

/backport to stable22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: No nonce is added to CSP header for Firefox 100+
4 participants