]> source.dussan.org Git - nextcloud-server.git/commit
Fix detection of firefox in ContentSecurityPolicyNonceManager 33069/head
authorCarl Schwan <carl@carlschwan.eu>
Wed, 29 Jun 2022 15:05:48 +0000 (17:05 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 30 Jun 2022 00:46:47 +0000 (00:46 +0000)
commit467780ff4eca5567309efe39de800f0694cf3985
tree64046e30320dd00c86b7f28ee8e9883165238d59
parent221826c0b0e0e0020914108ecb56f6d7d624ba01
Fix detection of firefox in ContentSecurityPolicyNonceManager

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>
lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php