Lib_PEAR - Version 1.4.0.0

Version Notes

1.4.0.0

Download this release

Release Info

Developer Magento Core Team
Extension Lib_PEAR
Version 1.4.0.0
Comparing to
See all releases


Code changes from version 1.3.1 to 1.4.0.0

lib/PEAR/SOAP/Parser.php CHANGED
@@ -378,7 +378,7 @@ class SOAP_Parser extends SOAP_Base
378
  $this->message[$pos]['arrayType'] = $vqn->name;
379
 
380
  } elseif ($kqn->name == 'offset') {
381
- $this->message[$pos]['arrayOffset'] = split(',', substr($value, 1, strlen($value) - 2));
382
 
383
  } elseif ($kqn->name == 'id') {
384
  // Save id to reference array.
378
  $this->message[$pos]['arrayType'] = $vqn->name;
379
 
380
  } elseif ($kqn->name == 'offset') {
381
+ $this->message[$pos]['arrayOffset'] = explode(',', substr($value, 1, strlen($value) - 2));
382
 
383
  } elseif ($kqn->name == 'id') {
384
  // Save id to reference array.
lib/PEAR/SOAP/Transport/HTTP.php CHANGED
@@ -269,13 +269,13 @@ class SOAP_Transport_HTTP extends SOAP_Transport
269
  {
270
  /* Largely borrowed from HTTP_Request. */
271
  $this->result_headers = array();
272
- $headers = split("\r?\n", $headers);
273
  foreach ($headers as $value) {
274
  if (strpos($value,':') === false) {
275
  $this->result_headers[0] = $value;
276
  continue;
277
  }
278
- list($name, $value) = split(':', $value);
279
  $headername = strtolower($name);
280
  $headervalue = trim($value);
281
  $this->result_headers[$headername] = $headervalue;
269
  {
270
  /* Largely borrowed from HTTP_Request. */
271
  $this->result_headers = array();
272
+ $headers = preg_split('/\r?\n/', $headers);
273
  foreach ($headers as $value) {
274
  if (strpos($value,':') === false) {
275
  $this->result_headers[0] = $value;
276
  continue;
277
  }
278
+ list($name, $value) = explode(':', $value);
279
  $headername = strtolower($name);
280
  $headervalue = trim($value);
281
  $this->result_headers[$headername] = $headervalue;
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Lib_PEAR</name>
4
- <version>1.3.1</version>
5
  <stability>stable</stability>
6
  <license>Mixed</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>PEAR Library</summary>
10
  <description>PEAR Library</description>
11
- <notes>1.3.1</notes>
12
  <authors><author><name>Magento Core Team</name><user>auto-converted</user><email>core@magentocommerce.com</email></author></authors>
13
- <date>2009-04-18</date>
14
- <time>01:26:32</time>
15
- <contents><target name="magelib"><dir name="PEAR"><dir name="HTTP"><dir name="Request"><file name="Listener.php" hash="77b53a700acc70a55713efd0642bc28a"/></dir><file name="HTTP.php" hash="b6408ededd0ec0d585b84951b7054810"/><file name="Request.php" hash="e409fdbe1518e11e16943f5185eccc2b"/></dir><dir name="Mail"><file name="mime.php" hash="93a00275edb0d9e94364ae11175741d1"/><file name="mimeDecode.php" hash="0e3cc74c0631a0e99e861caab50d763b"/><file name="mimePart.php" hash="53aedbcc104a9bd15cf96e5511b6498b"/><file name="xmail.dtd" hash="194810c478066eaeb28f51116b88e25a"/><file name="xmail.xsl" hash="61cea06fb6b4bd3a4b5e2d37384e14a9"/></dir><dir name="Net"><file name="Socket.php" hash="ea6a2a5f9ea70bc5ef25f03b0234cc08"/><file name="URL.php" hash="e7042d4176244ed99fe4b9c8e8cc6fb5"/></dir><dir name="PEAR"><file name="PEAR.php" hash="bd7b708d096f50fc873a2079fe03fd04"/></dir><dir name="SOAP"><dir name="Transport"><file name="HTTP.php" hash="7f3b3f8680fc1a337a6992056e6d41f4"/></dir><file name="Base.php" hash="7320b423fcdfb397c6a99cb7c585ac62"/><file name="Client.php" hash="1dd525ee520007e2d7651231c0dfefe3"/><file name="Fault.php" hash="34b9f405ebde848809b27ca2b16f1095"/><file name="Parser.php" hash="5c01a59b754194453a04fe24adb43ca4"/><file name="Transport.php" hash="0429fcddac603adc76c34c413705bd86"/><file name="Value.php" hash="026bce92aa9f922f0d8b410ff0f7ae3b"/><file name="WSDL.php" hash="67394dd9431b6970eac9a32df6171f2a"/></dir><dir name="XML"><dir name="Parser"><file name="Simple.php" hash="d11a9e750faecbfba6cc0c7a9eee5dcb"/></dir><file name="Parser.php" hash="f457617bc7ab0002f7374e9cca379681"/><file name="Serializer.php" hash="3fc9cbf6dff9b95372d05cb63854984d"/><file name="Unserializer.php" hash="937ba82a91ee40fa5a34911e70efaf3a"/></dir><file name="PEAR.php" hash="bd7b708d096f50fc873a2079fe03fd04"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Lib_PEAR</name>
4
+ <version>1.4.0.0</version>
5
  <stability>stable</stability>
6
  <license>Mixed</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>PEAR Library</summary>
10
  <description>PEAR Library</description>
11
+ <notes>1.4.0.0</notes>
12
  <authors><author><name>Magento Core Team</name><user>auto-converted</user><email>core@magentocommerce.com</email></author></authors>
13
+ <date>2010-02-12</date>
14
+ <time>22:37:29</time>
15
+ <contents><target name="magelib"><dir name="PEAR"><dir name="HTTP"><dir name="Request"><file name="Listener.php" hash="77b53a700acc70a55713efd0642bc28a"/></dir><file name="HTTP.php" hash="b6408ededd0ec0d585b84951b7054810"/><file name="Request.php" hash="e409fdbe1518e11e16943f5185eccc2b"/></dir><dir name="Mail"><file name="mime.php" hash="93a00275edb0d9e94364ae11175741d1"/><file name="mimeDecode.php" hash="0e3cc74c0631a0e99e861caab50d763b"/><file name="mimePart.php" hash="53aedbcc104a9bd15cf96e5511b6498b"/><file name="xmail.dtd" hash="194810c478066eaeb28f51116b88e25a"/><file name="xmail.xsl" hash="61cea06fb6b4bd3a4b5e2d37384e14a9"/></dir><dir name="Net"><file name="Socket.php" hash="ea6a2a5f9ea70bc5ef25f03b0234cc08"/><file name="URL.php" hash="e7042d4176244ed99fe4b9c8e8cc6fb5"/></dir><dir name="PEAR"><file name="PEAR.php" hash="bd7b708d096f50fc873a2079fe03fd04"/></dir><dir name="SOAP"><dir name="Transport"><file name="HTTP.php" hash="10362aa415631a40c1f35cd4cbb1075a"/></dir><file name="Base.php" hash="7320b423fcdfb397c6a99cb7c585ac62"/><file name="Client.php" hash="1dd525ee520007e2d7651231c0dfefe3"/><file name="Fault.php" hash="34b9f405ebde848809b27ca2b16f1095"/><file name="Parser.php" hash="30b780cf6543ea39b03fe5cc6d8b1064"/><file name="Transport.php" hash="0429fcddac603adc76c34c413705bd86"/><file name="Value.php" hash="026bce92aa9f922f0d8b410ff0f7ae3b"/><file name="WSDL.php" hash="67394dd9431b6970eac9a32df6171f2a"/></dir><dir name="XML"><dir name="Parser"><file name="Simple.php" hash="d11a9e750faecbfba6cc0c7a9eee5dcb"/></dir><file name="Parser.php" hash="f457617bc7ab0002f7374e9cca379681"/><file name="Serializer.php" hash="3fc9cbf6dff9b95372d05cb63854984d"/><file name="Unserializer.php" hash="937ba82a91ee40fa5a34911e70efaf3a"/></dir><file name="PEAR.php" hash="bd7b708d096f50fc873a2079fe03fd04"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>