How to reproduce
- Create a
test1.list
under Profiles folder with the following content:
.github.io
- Create a
test2.list
under Profiles folder with the following content:
DOMAIN-KEYWORD,github
- Create a
test.conf
under Profiles folder with the following content:
[General]
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
[Rule]
DOMAIN-SET,./test1.list,DIRECT
RULE-SET,./test2.list,DIRECT
FINAL,DIRECT
- Switch the profile to
test
.
- Open the terminal, use
Copy Shell Export Command
to configure the proxy environment variables.
- Execute
curl https://github.io
and curl https://example.github.io
in the terminal.
Expected Behavior
Both https://github.io
and example.github.io
should be matched by the test1.list
, because it is defined first in the [Rule]
section.
Actual Behavior
Only https://github.io
is matched by the test1.list
, while example.github.io
is actually matched by the test2.list
. See the attached screenshot:
cc @SurgeTeam