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

verify_working_env: sanitize_path(), forbid broken values #1000

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

TinCanTech
Copy link
Collaborator

Forbid any path ending with '/', '' or ':'

This protects user variables for paths from being set to the root folder.

Forbid any path ending with '/', '\' or ':'

This protects user variables for paths from being set to the root folder.

Signed-off-by: Richard T Bonhomme <[email protected]>
@TinCanTech TinCanTech self-assigned this Aug 16, 2023
@TinCanTech TinCanTech added this to the v3.1.6 milestone Aug 16, 2023
@TinCanTech TinCanTech merged commit 3bb013c into OpenVPN:master Aug 17, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant