mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-07 19:24:13 +08:00

For historical reasons, sing-box's `domain_suffix` rule matches literal prefixes instead of the same as other projects. This change modifies the behavior of `domain_suffix`: If the rule value is prefixed with `.`, the behavior is unchanged, otherwise it matches `(domain|.+\.domain)` instead.