mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-05-19 07:37:20 +08:00
- Introduced `newTestServerWithOptions` to customize server initialization in tests. - Added `TestManagementLocalPasswordRejectsSpoofedForwardedFor` to validate security against spoofed `X-Forwarded-For` headers. - Enabled default WebSocket authentication (`ws-auth`) in `config.example.yaml`. - Disabled trusted proxy headers in Gin engine with appropriate logging to enhance security.
10 B
10 B
@AGENTS.md