Skip to content

Commit

Permalink
Uncomment 'Double up percents.' during Windows argument escaping in U…
Browse files Browse the repository at this point in the history
…nish.
  • Loading branch information
weitzman committed Sep 2, 2016
1 parent 6644b3c commit 6b1bdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unish/UnishTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public static function _escapeshellarg_windows($arg) {
$arg = preg_replace('/"/', '""', $arg);

// Double up percents.
// $arg = preg_replace('/%/', '%%', $arg);
$arg = preg_replace('/%/', '%%', $arg);

// Add surrounding quotes.
$arg = '"' . $arg . '"';
Expand Down

0 comments on commit 6b1bdc4

Please sign in to comment.