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

fix: quote paths from pybind11-config #5302

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

henryiii
Copy link
Collaborator

Description

Fix #5300. I've been worried about the warning on https://docs.python.org/3/library/shlex.html#shlex.quote, but I think that doesn't mean it won't work, it just means that it doesn't protect from injection on Windows.

Suggested changelog entry:

* Quote paths from pybind11-config.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit 8d9f4d5 into pybind:master Aug 13, 2024
78 checks passed
@henryiii henryiii deleted the henryiii/fix/quotes branch August 13, 2024 17:02
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Aug 13, 2024
henryiii added a commit that referenced this pull request Aug 13, 2024
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
henryiii added a commit that referenced this pull request Aug 14, 2024
henryiii added a commit that referenced this pull request Aug 14, 2024
henryiii added a commit that referenced this pull request Aug 15, 2024
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Aug 22, 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.

[BUG]: pybind11-config --includes does not quote paths
2 participants