escape arguments
parent
ae15d8a5b6
commit
adfac9e34b
|
@ -218,8 +218,12 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
|
||||||
if ($this->useAuth !== true) {
|
if ($this->useAuth !== true) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
$str = ' --no-auth-cache --username "%s" --password "%s" ';
|
$str = ' --no-auth-cache --username %s --password %s ';
|
||||||
return sprintf($str, $this->svnUsername, $this->svnPassword);
|
return sprintf(
|
||||||
|
$str,
|
||||||
|
escapeshellarg($this->svnUsername),
|
||||||
|
escapeshellarg($this->svnPassword)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue