Fix space in password for git auth

main
Alex Romanenko 10 years ago
parent 321bd3e1f7
commit 5078d7c4fb

@ -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));

Loading…
Cancel
Save