Skip to content
Permalink
Browse files

use escapeshellarg on windows symlink

  • Loading branch information...
taylorotwell committed May 14, 2019
1 parent c7a3ca1 commit 44c3feb604944599ad1c782a9942981c3991fa31
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Illuminate/Filesystem/Filesystem.php
@@ -254,7 +254,7 @@ public function link($target, $link)
$mode = $this->isDirectory($target) ? 'J' : 'H';
exec("mklink /{$mode} \"{$link}\" \"{$target}\"");
exec("mklink /{$mode} ".escapeshellarg($link)." ".escapeshellarg($target));
}
/**

0 comments on commit 44c3feb

Please sign in to comment.
You can’t perform that action at this time.