1
0
Fork 0

Fix space in password for git auth

pull/2859/head
Alex Romanenko 2014-03-31 09:39:58 +04:00
parent 321bd3e1f7
commit 5078d7c4fb
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class GitDriver extends VcsDriver
); );
} }
$url = $match[1].urlencode($auth['username']).':'.urlencode($auth['password']).'@'.$match[2].$match[3]; $url = $match[1].rawurlencode($auth['username']).':'.rawurlencode($auth['password']).'@'.$match[2].$match[3];
$command = sprintf('git clone --mirror %s %s', escapeshellarg($url), escapeshellarg($this->repoDir)); $command = sprintf('git clone --mirror %s %s', escapeshellarg($url), escapeshellarg($this->repoDir));