1
0
Fork 0

Update GitDownloader.php

pull/3297/head
Frederik Bosch 2014-09-24 15:27:31 +02:00
parent 6edabc629d
commit 4c58abbb76
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class GitDownloader extends VcsDownloader
* http://windowsitpro.com/windows-server/how-can-i-pass-percent-sign-value-regexe
*/
private function shellEscapeUrl ($url) {
public function shellEscapeUrl ($url) {
$escapedUrl = escapeshellarg($url);
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$escapedUrl = str_replace('%','^%', $escapedUrl);