Tags: 7Sageer/sublink-worker
Tags
fix: Clash rule-provider key collision causing wrong routing (#334) When a rule has both site_rules and ip_rules with the same key (e.g. "google", "cn"), the ip_rule_provider overwrites the site_rule_provider during object spread merge. This causes domain-based RULE-SET entries to reference IP rule sets instead of site rule sets, so domain traffic (e.g. google.com) falls through to the broader geolocation-!cn rule. Fix: suffix IP rule-provider keys with "-ip" to avoid collision.
PreviousNext