vaultwarden/src
BlackDex 0f95bdc9bb
Fix issue with CSP and icon redirects
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.
2022-07-17 16:21:03 +02:00
..
api Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00
db Add more clippy checks for better code/readability 2022-07-10 16:39:38 +02:00
static Fix identicons not always working 2022-06-22 16:38:16 +02:00
auth.rs Remove read_file and read_file_string and replace them with the std alternatives 2022-07-15 19:13:26 +02:00
config.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00
crypto.rs Increase length limit for email token generation 2022-01-24 01:17:00 -08:00
error.rs Migrate old ws crate to tungstenite, which is async and also removes over 20 old dependencies 2022-06-04 19:13:39 +02:00
mail.rs Upgrade dependencies and swap lettre to async transport 2022-07-06 23:57:37 +02:00
main.rs Remove read_file and read_file_string and replace them with the std alternatives 2022-07-15 19:13:26 +02:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00