mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-29 18:18:42 +00:00
Merge pull request #215 from alikon/patch-4
allow login github credential with '#'
This commit is contained in:
commit
deeb293506
@ -78,6 +78,7 @@ class GitHub
|
|||||||
{
|
{
|
||||||
$username = $this->options->get('api.username');
|
$username = $this->options->get('api.username');
|
||||||
$username = str_replace('@', '%40', $username);
|
$username = str_replace('@', '%40', $username);
|
||||||
|
$username = str_replace('#', '%23', $username);
|
||||||
$uri->setUser($username);
|
$uri->setUser($username);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +86,7 @@ class GitHub
|
|||||||
{
|
{
|
||||||
$password = $this->options->get('api.password');
|
$password = $this->options->get('api.password');
|
||||||
$password = str_replace('@', '%40', $password);
|
$password = str_replace('@', '%40', $password);
|
||||||
|
$password = str_replace('#', '%23', $password);
|
||||||
$uri->setPass($password);
|
$uri->setPass($password);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user