Skip to content

use filepath.IsAbs for absolute path detection#88

Open
garmr-ulfr wants to merge 9 commits into
SagerNet:devfrom
getlantern:check-if-absolute-path
Open

use filepath.IsAbs for absolute path detection#88
garmr-ulfr wants to merge 9 commits into
SagerNet:devfrom
getlantern:check-if-absolute-path

Conversation

@garmr-ulfr
Copy link
Copy Markdown

This replaces strings.HasPrefix(name, "/") with filepath.IsAbs in defaultManager.BasePath to handle absolute path on Windows.

@nekohasekai nekohasekai force-pushed the dev branch 8 times, most recently from 025e8b6 to 8874f10 Compare December 26, 2025 10:57
@nekohasekai nekohasekai force-pushed the dev branch 5 times, most recently from ee298fe to 3e730f2 Compare April 21, 2026 11:19
@nekohasekai nekohasekai force-pushed the dev branch 2 times, most recently from f758c54 to 2bc976d Compare April 28, 2026 08:46
@nekohasekai nekohasekai force-pushed the dev branch 2 times, most recently from 33b66f8 to 7297f95 Compare May 14, 2026 08:36
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