Skip to content

fix(docker): quote site name in volume create and lookup commands - #1943

Merged
mrrobot47 merged 1 commit into
EasyEngine:developfrom
mrrobot47:fix/quote-site-name-in-volume-commands
Oct 12, 2026
Merged

mrrobot47 merged 1 commit into
EasyEngine:developfrom
mrrobot47:fix/quote-site-name-in-volume-commands

Conversation

@mrrobot47

Copy link
Copy Markdown
Member

create_volumes() and get_volumes_by_label() quote the label and volume names they pass to docker. Independent of the package changes.

create_volumes() and get_volumes_by_label() built docker commands with the site name interpolated unquoted. Pass each value through escapeshellarg() so it always reaches docker as a single argument.
@mrrobot47
mrrobot47 requested a balanced review from Copilot October 12, 2026 09:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused escaping changes correctly protect all modified shell arguments without altering intended Docker behavior.

0 open findings

🧠 Review effort: Balanced

@mrrobot47
mrrobot47 merged commit 1804b55 into EasyEngine:develop Oct 12, 2026
11 checks passed
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.

2 participants