mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-03-20 22:08:56 +01:00
When using anything else but the `internal` icon service it would trigger an CSP block because the redirects were not allowed. This PR fixes #2623 by dynamically adding the needed CSP strings. This should also work with custom services. For Google i needed to add an extra check because that does a redirect it self to there gstatic.com domain. |
||
---|---|---|
.. | ||
core | ||
admin.rs | ||
icons.rs | ||
identity.rs | ||
mod.rs | ||
notifications.rs | ||
web.rs |