mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-03 01:07:35 +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.