svn: /pear2/Pyrus/trunk/src/Pyrus/Channel/ RemotePackages.php

From: Date: Tue, 16 Mar 2010 14:48:09 +0000
Subject: svn: /pear2/Pyrus/trunk/src/Pyrus/Channel/ RemotePackages.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9305@lists.php.net to get a copy of this message
saltybeagle Tue, 16 Mar 2010 14:48:09 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296278 Log: Force lowercase because there are channel servers out there that don't realize that element value is used to reference the actual p/{packagename}/info.xml file. Changed paths: U pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackages.php Modified: pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackages.php =================================================================== --- pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackages.php 2010-03-16 13:38:51 UTC (rev 296277) +++ pear2/Pyrus/trunk/src/Pyrus/Channel/RemotePackages.php 2010-03-16 14:48:09 UTC (rev 296278) @@ -83,6 +83,9 @@ $lowerpackage = current($this->packageList); } + // force lowercase because there are some stupid channels out there + $lowerpackage = strtolower($lowerpackage); + $url = $this->parent->protocols->rest['REST1.0']->baseurl . 'p/' . $lowerpackage . '/info.xml'; $info = $this->rest->retrieveCacheFirst($url); if (isset($releases)) {

« previous php.pear.core (#9305) next »