[wp-trac] [WordPress Trac] #49491: Escape command arguments of env:cli before passing to docker-compose

WordPress Trac noreply at wordpress.org
Thu Nov 16 12:01:57 UTC 2023


#49491: Escape command arguments of env:cli before passing to docker-compose
------------------------------+-----------------------------
 Reporter:  ocean90           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:  5.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by zaerl):

 * keywords:  needs-patch => has-patch


Comment:

 I've mapped the arguments passed to execSync so that if an argument
 contains spaces, it will be treated as a single argument by the shell.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49491#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list