Skip to content

Make process name and path matching case-insensitive on Windows - #4346

Open
garmr-ulfr wants to merge 2 commits into
SagerNet:stablefrom
getlantern:normalize-process-rule-win
Open

Make process name and path matching case-insensitive on Windows#4346
garmr-ulfr wants to merge 2 commits into
SagerNet:stablefrom
getlantern:normalize-process-rule-win

Conversation

@garmr-ulfr

Copy link
Copy Markdown

Windows file paths are case-insensitive, C:\Program Files\myPath and c:\program files\mypath point to the same directory. This normalizes processPath and processName to lowercase on Windows before storing in/loading from rule.processMap. metadata.ProcessInfo.ProcessPath and metadata.ProcessInfo.ProcessName are not modified.

@nekohasekai
nekohasekai force-pushed the stable branch 5 times, most recently from 56e3947 to 3708fa1 Compare July 29, 2026 11:17
@nekohasekai
nekohasekai force-pushed the stable branch 3 times, most recently from 5415bf0 to 17ec3c7 Compare August 3, 2026 11:20
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.

2 participants