[PR #1628] [MERGED] Extend bypass middleware with support of wildcard paths #15660

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1628
Author: @surik
Created: 2/26/2024
Status: Merged
Merged: 2/26/2024
Merged by: @surik

Base: mainHead: yury/wildcard-bypass-middleware


📝 Commits (5)

  • a4f9c93 Extend bypass middleware with support of wildcard paths
  • 47bf21d Fix linter
  • 8c2fde0 Fix typo
  • bb1bfca Update management/server/http/middleware/bypass/bypass.go
  • 1f7ba2e Add missed import

📊 Changes

3 files changed (+72 additions, -6 deletions)

View changed files

📝 management/server/http/middleware/auth_middleware_test.go (+4 -1)
📝 management/server/http/middleware/bypass/bypass.go (+39 -4)
📝 management/server/http/middleware/bypass/bypass_test.go (+29 -1)

📄 Description

Describe your changes

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/1628 **Author:** [@surik](https://github.com/surik) **Created:** 2/26/2024 **Status:** ✅ Merged **Merged:** 2/26/2024 **Merged by:** [@surik](https://github.com/surik) **Base:** `main` ← **Head:** `yury/wildcard-bypass-middleware` --- ### 📝 Commits (5) - [`a4f9c93`](https://github.com/netbirdio/netbird/commit/a4f9c932143bd2dda2820688f233ddcf8330f312) Extend bypass middleware with support of wildcard paths - [`47bf21d`](https://github.com/netbirdio/netbird/commit/47bf21d624319bc1b153ee537efac29846872743) Fix linter - [`8c2fde0`](https://github.com/netbirdio/netbird/commit/8c2fde064cd9fe3c5c2e0a3dacf8638d2bb4bb9d) Fix typo - [`bb1bfca`](https://github.com/netbirdio/netbird/commit/bb1bfca31afc58bebe3678f0051b54c03e554c7d) Update management/server/http/middleware/bypass/bypass.go - [`1f7ba2e`](https://github.com/netbirdio/netbird/commit/1f7ba2e70371fd5fcfff6e3de044e5035d4101dc) Add missed import ### 📊 Changes **3 files changed** (+72 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/middleware/auth_middleware_test.go` (+4 -1) 📝 `management/server/http/middleware/bypass/bypass.go` (+39 -4) 📝 `management/server/http/middleware/bypass/bypass_test.go` (+29 -1) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [x] 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:08:08 -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#15660