CommandExecutor should not use fromShellCommandline

Created on 16 March 2024, 6 months ago
Updated 10 April 2024, 5 months ago

Problem/Motivation

In \Drupal\automatic_updates\CommandExecutor::create we are just imploding the arguments and then
using \Symfony\Component\Process\Process::fromShellCommandline

Steps to reproduce

Proposed resolution

We should use escapeshellarg when creating the arguments and not use fromShellCommandline

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024