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

[11.x] Fixes escaping path via Process given commands as array #51926

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

crynobone
Copy link
Member

@crynobone crynobone commented Jun 27, 2024

Introduced in symfony/symfony#52409 we no longer can use Illuminate\Support\ProcessUtils::escapeArgument() when providing the command as array.

ProcessUtils::escapeArgument() is only required when calling Process via Process::fromShellCommandline()

fixes #51820

Introduced in symfony/symfony#52409 we no longer
should use `Illuminate\Support\ProcessUtils::escapeArgument()` unless
calling `Process` via `Process::fromShellCommandline()`

fixes #51820

Signed-off-by: Mior Muhammad Zaki <[email protected]>
@crynobone crynobone marked this pull request as ready for review June 27, 2024 08:21
@taylorotwell taylorotwell merged commit 28b5d4e into 11.x Jun 27, 2024
31 checks passed
@taylorotwell taylorotwell deleted the fixes-51820 branch June 27, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants