mirror of
https://github.com/cloudflare/cloudflared.git
synced 2026-11-17 19:26:14 +00:00
This prevents users from abusing `--allowed-mail` policies by limiting the nr. of rules to 100 and defining a max per rule of 320 bytes. Validation errors now identify only the rule position and category, preventing recipient values from appearing in logs. Parsing also stops once limits are exceeded while preserving normalisation and deduplication.
146 lines
5.7 KiB
146 lines
5.7 KiB