[PR #485] [MERGED] Check if domain from claim is valid #12668

Closed
opened 2026-08-05 02:06:24 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/485
Author: @mlsmaycon
Created: 9/29/2022
Status: Merged
Merged: 9/29/2022
Merged by: @mlsmaycon

Base: mainHead: check-empty-domain


📝 Commits (2)

  • d6419cb Check if domain from claim is valid
  • 52c0c0b use raw string for regex

📊 Changes

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

View changed files

📝 management/server/account.go (+7 -1)
📝 management/server/account_test.go (+28 -1)

📄 Description

If domain is invalid we call GetAccountByUserOrAccountId


🔄 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/netbirdio/netbird/pull/485 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 9/29/2022 **Status:** ✅ Merged **Merged:** 9/29/2022 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `check-empty-domain` --- ### 📝 Commits (2) - [`d6419cb`](https://github.com/netbirdio/netbird/commit/d6419cbeb97bd9ff0c1c1770167e8e21d58fb2a1) Check if domain from claim is valid - [`52c0c0b`](https://github.com/netbirdio/netbird/commit/52c0c0b9d98ceab4d9bba21b1d2a2a26529cd0be) use raw string for regex ### 📊 Changes **2 files changed** (+35 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+7 -1) 📝 `management/server/account_test.go` (+28 -1) </details> ### 📄 Description If domain is invalid we call GetAccountByUserOrAccountId --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:24 -04:00
saavagebueno changed title from [PR #485] Check if domain from claim is valid to [PR #485] [MERGED] Check if domain from claim is valid 2026-08-05 03:06:42 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12668