Skip to content

Commit 681ce81

Browse files
committed
patch
1 parent 10a76b4 commit 681ce81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Command/BuiltInWebServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ protected function doProcess(
545545
) {
546546
$command = sprintf(
547547
'cd %s && %s > /dev/null 2>&1',
548-
$docRoot,
548+
escapeshellcmd($docRoot),
549549
$command
550550
);
551551
}

0 commit comments

Comments
 (0)