]> 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>
Sun, 4 Feb 2018 19:53:32 +0000 (12:53 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Sun, 4 Feb 2018 19:53:32 +0000 (12:53 -0700)
commit57e7b4b49e0742161eae9beab2f407629d2dba41
tree507024cc4e4233a49aafc3f503ded7bdec69ab05
parent3189de5bb9af76d1877dbb0a632dc6f60e32a040
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/ldap.c