Fix space in password for git auth
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));
|
$command = sprintf('git clone --mirror %s %s', escapeshellarg($url), escapeshellarg($this->repoDir));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue