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

Use the shlex package to properly quote a string for command line safety #1212

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

PintoGideon
Copy link
Collaborator

The quote function from node-shlex is used to quote values fetched from pluginParameters, ensuring that string values are properly formatted for command-line safety (type === 'string' ? quote(value) : value).

@PintoGideon PintoGideon merged commit 6dc7f78 into master Jun 14, 2024
1 check passed
@PintoGideon PintoGideon changed the title Use the shlex package to add quotes to properly quote a string for command line safety Use the shlex package to properly quote a string for command line safety Jun 14, 2024
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.

None yet

1 participant