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.

@zx2c4-bot zx2c4-bot force-pushed the master branch 13 times, most recently from 215fa6b to 0f52c8d Compare March 24, 2026 02:25
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