vaultwarden/src/api
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
..
core Merge branch 'more-clippy-checks' of https://github.com/BlackDex/vaultwarden into BlackDex-more-clippy-checks 2022-07-15 19:05:54 +02:00
admin.rs Remove read_file and read_file_string and replace them with the std alternatives 2022-07-15 19:13:26 +02:00
icons.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00
identity.rs Upgrade dependencies and swap lettre to async transport 2022-07-06 23:57:37 +02:00
mod.rs Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking 2022-02-27 21:36:31 +01:00
notifications.rs Fix clippy lint and remove unused log 2022-06-04 19:13:58 +02:00
web.rs Add /api/{alive,now,version} endpoints 2022-04-23 23:47:49 -07:00