Closed eatoncns closed 3 years ago
Example of a problematic command:
command: [ curl, -X, PUT, 'http://example.com/_mapping', -H, 'Content-Type: application/json', -d@/opt/mappings/mappings.json ]
Here the current code would not correctly escape quotes on the Content-Type section and the space inside would be interpreted by the shell.
Content-Type
Purpose of PR
Example of a problematic command:
Here the current code would not correctly escape quotes on the
Content-Type
section and the space inside would be interpreted by the shell.