mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Fix PEAR loading, fixes #590
This commit is contained in:
parent
5541b52530
commit
a5e00a9e96
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class PearRepository extends ArrayRepository
|
|||
$categories = $categoryXML->getElementsByTagName("c");
|
||||
|
||||
foreach ($categories as $category) {
|
||||
$link = $this->baseUrl . '/c/' . $category->nodeValue;
|
||||
$link = $this->baseUrl . '/c/' . str_replace(' ', '+', $category->nodeValue);
|
||||
try {
|
||||
$packagesLink = $link . "/packagesinfo.xml";
|
||||
$this->fetchPear2Packages($packagesLink);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue