1
0
Fork 0

Update src/Composer/Repository/PearRepository.php

pull/217/head
Henrique Moody 2012-01-17 14:54:55 -02:00
parent 14adc0213e
commit 60831ac3fc
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class PearRepository extends ArrayRepository
throw new \UnexpectedValueException('Invalid url given for PEAR repository: '.$config['url']);
}
$this->url = preg_replace('#^(.+)/+$#U', '$1', $config['url']);
$this->url = rtrim($config['url'], '/');
}
protected function initialize()