Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: 1 typo in comments #1623

Open
wants to merge 22 commits into
base: dev-next
Choose a base branch
from

Conversation

RoboSchmied
Copy link

typo

nekohasekai and others added 22 commits March 26, 2024 20:44
The `process_path` rule of sing-box is inherited from Clash,
the original code uses the local system's path format (e.g. `\Device\HarddiskVolume1\folder\program.exe`),
but when the device has multiple disks, the HarddiskVolume serial number is not stable.

This change make QueryFullProcessImageNameW output a Win32 path (such as `C:\folder\program.exe`),
which will disrupt the existing `process_path` use cases in Windows.
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.
Signed-off-by: RoboSchmied <[email protected]>
@nekohasekai nekohasekai force-pushed the dev-next branch 5 times, most recently from 2fea6cd to e3a143f Compare April 8, 2024 14:33
@nekohasekai nekohasekai force-pushed the dev-next branch 3 times, most recently from 12e4ec5 to e80f5ac Compare April 12, 2024 13:40
@nekohasekai nekohasekai force-pushed the dev-next branch 9 times, most recently from 82269a4 to 1bc83a1 Compare June 22, 2024 06:16
@nekohasekai nekohasekai force-pushed the dev-next branch 11 times, most recently from b34153f to 6da5ed4 Compare June 27, 2024 13:22
@nekohasekai nekohasekai force-pushed the dev-next branch 10 times, most recently from 07b192a to 06ee404 Compare July 7, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants