[PR #938] [MERGED] Fix validation for ACL policy rules ports #14570

Closed
opened 2026-08-05 03:05:53 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/938
Author: @gigovich
Created: 6/6/2023
Status: Merged
Merged: 6/7/2023
Merged by: @braginini

Base: mainHead: fix-policy-port-validation


📝 Commits (1)

  • de04fb3 Fix validation for ACL policy rules ports

📊 Changes

1 file changed (+8 additions, -2 deletions)

View changed files

📝 management/server/http/policies_handler.go (+8 -2)

📄 Description

Describe your changes

Check port values before updating the policy rule

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/938 **Author:** [@gigovich](https://github.com/gigovich) **Created:** 6/6/2023 **Status:** ✅ Merged **Merged:** 6/7/2023 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `fix-policy-port-validation` --- ### 📝 Commits (1) - [`de04fb3`](https://github.com/netbirdio/netbird/commit/de04fb399a5111f686a52f7dd58e4059466c2336) Fix validation for ACL policy rules ports ### 📊 Changes **1 file changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/policies_handler.go` (+8 -2) </details> ### 📄 Description ## Describe your changes Check port values before updating the policy rule ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 03:05:53 -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#14570