🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/5293
**Author:** [@BlackDex](https://github.com/BlackDex)
**Created:** 12/14/2024
**Status:** ✅ Merged
**Merged:** 12/14/2024
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `allow-custom-forward-api`
---
### 📝 Commits (1)
- [`e59472b`](https://github.com/dani-garcia/vaultwarden/commit/e59472bbf9131cd17b942fa7d19d1dd3b4d02364) Allow adding connect-src entries
### 📊 Changes
**3 files changed** (+22 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `.env.template` (+8 -0)
📝 `src/config.rs` (+11 -0)
📝 `src/util.rs` (+3 -2)
</details>
### 📄 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-src` CSP entry.
This commit allows setting this and checks if the URL starts with `https://` else it will abort loading.
Fixes #5290
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/5293
Author: @BlackDex
Created: 12/14/2024
Status: ✅ Merged
Merged: 12/14/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.