Skip to content

validate tunnel name before config path join#26

Open
1seal wants to merge 1 commit intoWireGuard:masterfrom
1seal:codex/wgwin-validate-tunnelname-loadfromname
Open

validate tunnel name before config path join#26
1seal wants to merge 1 commit intoWireGuard:masterfrom
1seal:codex/wgwin-validate-tunnelname-loadfromname

Conversation

@1seal
Copy link

@1seal 1seal commented Feb 27, 2026

this change validates tunnel names at the start of conf.LoadFromName. it avoids constructing filesystem paths from unvalidated input and makes invalid names fail fast with a consistent error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant