[PR #5088] [MERGED] refactor: reorganize security policy into dedicated packag #5121

Closed
opened 2026-05-05 14:55:06 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5088
Author: @fatedier
Created: 12/5/2025
Status: Merged
Merged: 12/5/2025
Merged by: @fatedier

Base: devHead: new


📝 Commits (1)

  • 33ab7ee refactor: reorganize security policy into dedicated packag

📊 Changes

8 files changed (+133 additions, -68 deletions)

View changed files

📝 client/service.go (+3 -2)
📝 cmd/frpc/sub/proxy.go (+3 -2)
📝 cmd/frpc/sub/root.go (+10 -6)
📝 cmd/frpc/sub/verify.go (+2 -2)
📝 pkg/config/v1/client.go (+0 -20)
📝 pkg/config/v1/validation/client.go (+81 -36)
📝 pkg/policy/featuregate/feature_gate.go (+0 -0)
pkg/policy/security/unsafe.go (+34 -0)

📄 Description

WHY


🔄 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/fatedier/frp/pull/5088 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 12/5/2025 **Status:** ✅ Merged **Merged:** 12/5/2025 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`33ab7ee`](https://github.com/fatedier/frp/commit/33ab7eedd6482299f4a5a8d90068bf548943ed9b) refactor: reorganize security policy into dedicated packag ### 📊 Changes **8 files changed** (+133 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `client/service.go` (+3 -2) 📝 `cmd/frpc/sub/proxy.go` (+3 -2) 📝 `cmd/frpc/sub/root.go` (+10 -6) 📝 `cmd/frpc/sub/verify.go` (+2 -2) 📝 `pkg/config/v1/client.go` (+0 -20) 📝 `pkg/config/v1/validation/client.go` (+81 -36) 📝 `pkg/policy/featuregate/feature_gate.go` (+0 -0) ➕ `pkg/policy/security/unsafe.go` (+34 -0) </details> ### 📄 Description ### WHY <!-- author to complete --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:55:06 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#5121
No description provided.