Skip to content

Commit 882dca6

Browse files
committed
MFH: fixed a mistake on reverting my previous patch.
1 parent 7ae93a2 commit 882dca6

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)