Skip to content

Commit

Permalink
Let's shell-escape the filename, in addition to the $PATH value, just…
Browse files Browse the repository at this point in the history
… in case.
  • Loading branch information
icculus committed Jul 7, 2009
1 parent 196a3cf commit 4919825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform_unix.c
Expand Up @@ -1131,7 +1131,7 @@ static boolean unix_launchXdgUtil(const char *util, const char **argv)

if (path != NULL) // it's installed on the system; use that.
{
char *cmd = xstrdup(util);
char *cmd = shellEscape(util);
char *tmp = NULL;
int i;

Expand Down

0 comments on commit 4919825

Please sign in to comment.