mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-20 13:27:17 +00:00

This PR makes sure every command line argument that represents an absolute path is surrounded by double quotes, to avoid any potential escaping issue. This simplifies a lot the various special character escaping routines we had in place, since we now only have to make sure double quotes inside the paths are escaped. Fixes: https://github.com/resin-io/etcher/issues/773 Change-Type: patch Changelog-Entry: Prevent escaping issues during elevation by surrounding paths in double quotes. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>