mirror of
https://github.com/docker/cli.git
synced 2026-09-10 10:05:19 -05:00
3bf489de75c89685c59b6c0e33a6aae1c8cc6e9c
This also adds more tests to help verify this, including unicode and nonprintable characters (hence the earlier commit switching to strconv.Quote). As a bonus, this fixes a subtle bug where [] was turned into [""] and then turned back into [] (and thus [""] was impossible to actually round-trip correctly in a Dockerfile). Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com> Upstream-commit: 05c2d2db9a95266217a639e2109be6fc6482a716 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%