mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
[PR #5293] [MERGED] Allow adding connect-src entries #2616
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/5293
Author: @BlackDex
Created: 12/14/2024
Status: ✅ Merged
Merged: 12/15/2024
Merged by: @dani-garcia
Base:
main← Head:allow-custom-forward-api📝 Commits (1)
e59472bAllow adding connect-src entries📊 Changes
3 files changed (+22 additions, -2 deletions)
View changed files
📝
.env.template(+8 -0)📝
src/config.rs(+11 -0)📝
src/util.rs(+3 -2)📄 Description
Bitwarden allows to use self-hosted forwarded email services. But for this to work you need to add custom URL's to the
connect-srcCSP entry.This commit allows setting this and checks if the URL starts with
https://else it will abort loading.Fixes #5290
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.