Skip to content

Commit b282311

Browse files
committed
1 parent 8ac56c1 commit b282311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ PHPAPI char *php_escape_shell_cmd(char *str)
272272
p = NULL;
273273
} else {
274274
cmd[y++] = '\\';
275-
cmd[y++] = str[x];
276275
}
276+
cmd[y++] = str[x];
277277
break;
278278
#else
279279
/* % is Windows specific for enviromental variables, ^%PATH% will

0 commit comments

Comments
 (0)