[PR #3093] [MERGED] Percent-encode org_name in links #3080

Closed
opened 2025-11-07 08:02:40 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/3093
Author: @am97
Created: 1/3/2023
Status: Merged
Merged: 1/9/2023
Merged by: @dani-garcia

Base: mainHead: main


📝 Commits (1)

  • 2897c24 Percent-encode org_name in links

📊 Changes

3 files changed (+3 additions, -2 deletions)

View changed files

📝 src/mail.rs (+1 -0)
📝 src/static/templates/email/send_org_invite.hbs (+1 -1)
📝 src/static/templates/email/send_org_invite.html.hbs (+1 -1)

📄 Description

If org_name contains spaces, the generated link will not work in some email clients unless it is percent-encoded


🔄 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/3093 **Author:** [@am97](https://github.com/am97) **Created:** 1/3/2023 **Status:** ✅ Merged **Merged:** 1/9/2023 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`2897c24`](https://github.com/dani-garcia/vaultwarden/commit/2897c24e838b64e14aa273602b9dea5ff65f3fc6) Percent-encode org_name in links ### 📊 Changes **3 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/mail.rs` (+1 -0) 📝 `src/static/templates/email/send_org_invite.hbs` (+1 -1) 📝 `src/static/templates/email/send_org_invite.html.hbs` (+1 -1) </details> ### 📄 Description If org_name contains spaces, the generated link will not work in some email clients unless it is percent-encoded --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-07 08:02:40 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#3080