fix: blocklist fails open when a regex fails to compile #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
compilePatterns(internal/proxy/classifier.go:63) silently drops any pattern that fails to compile. A typo in a blocklist entry silently turns a deny rule into a no-op (fail-open). Validate patterns at config-write time and reject/log invalid ones.