]> granicus.if.org Git - sudo/commit
For "sudo -l", if a word includes spaces, print it in double quotes.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Sat, 3 Feb 2018 13:59:37 +0000 (06:59 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Sat, 3 Feb 2018 13:59:37 +0000 (06:59 -0700)
commit105ced47b8bbf6f0184abb8438501df1cfb38550
treeffdb61170deda2580645dc97972836bc656762f9
parent40c200af1834a09ff461346814f32cfee11a2c89
For "sudo -l", if a word includes spaces, print it in double quotes.
Also escape spaces in the command path.  This matches the sudoers
quoting rules.
plugins/sudoers/parse.c