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

WordPress Trac noreply at wordpress.org
Thu Jun 8 12:34:07 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:  needs-patch       |     Focuses:
------------------------------+-----------------------------

Comment (by maliev):

 I would try to replace this line in the package.json inside of this
 section:

 {{{
 "env:cli": "node ./tools/local-env/scripts/docker.js run cli \"${1}\"
 \"${2}\" \"${3}\" \"${4}\""
 }}}

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


More information about the wp-trac mailing list