Skip to content

Commit

Permalink
fix: Add edge as supported user agent for CSPv3 nonces
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Mar 11, 2024
1 parent b26fbc3 commit 3103a85
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public function browserSupportsCspV3(): bool {
Request::USER_AGENT_CHROME,
Request::USER_AGENT_FIREFOX,
Request::USER_AGENT_SAFARI,
Request::USER_AGENT_MS_EDGE,
];

if ($this->request->isUserAgent($browserWhitelist)) {
Expand Down

0 comments on commit 3103a85

Please sign in to comment.