<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Net_URL</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/14103" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13103" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/14103">
      <title>Net_URL: Bug 14103 [Open] whitespace in path won't encoded</title>
      <link>http://pear.php.net/bugs/14103</link>
      <content:encoded><![CDATA[<pre>Net_URL Bug
Reported by phpmyforum
2008-06-08T09:48:09+00:00
PHP: 5.2.6 OS: Linux Package Version: 

Description:
------------
Requests with spaces in the filename (or path) won't work because the space isn't converted to %20

I think Net_URL2 Bug #6470 has a good solution.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_URL Bug
Reported by phpmyforum
2008-06-08T09:48:09+00:00
PHP: 5.2.6 OS: Linux Package Version: 

Description:
------------
Requests with spaces in the filename (or path) won't work because the space isn't converted to %20

I think Net_URL2 Bug #6470 has a good solution.</pre>]]></description>
      <dc:date>2008-07-23T15:00:23+00:00</dc:date>
      <dc:creator>chris &amp;#x61;&amp;#116; phpmyforum &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Net_URL Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13103">
      <title>Net_URL: Bug 13103 [Open] Space broken the URL when redirect</title>
      <link>http://pear.php.net/bugs/13103</link>
      <content:encoded><![CDATA[<pre>Net_URL Bug
Reported by khoinqq
2008-02-12T07:12:41+00:00
PHP: 5.1.4 OS:  Package Version: 

Description:
------------
Some time when we request a URL with a param contains &quot;+&quot; which is the encode of &quot;space&quot;, for example:
http://www.example.com/search?keyword=my+keyword
Then the page is response for 301 and redirect to 
Location: /newsearch?keyword=my keyword 
(the site response with URL contains space), the HTTP_Client request it &quot;as is&quot; without encode the URL, made the URL to be corrupt and return 404.

Test script:
---------------
&lt;?php
require_once &quot;HTTP/Client.php&quot;;
// This URL is came from a spider, and is properly encoded
$url = &quot;http://www.amazon.com/o/redirect%3Ftag%3Damd-google-20%26path%3Dsearch-handle-url/index%3Dstripbooks%2526field-keywords%3Dfood%2520for%2520mood%2526results-process%3Ddefault%2526dispatch%3Dsearch/ref%3Dpd_sl_aw_tops-1_stripbooks_6069142_2&quot;;
$client = new HTTP_Client();
$content= $client-&gt;get($url);
$response = $client-&gt;currentResponse();
echo $content;
file_put_contents(&quot;amazon_source.txt&quot;, $response['body']);

Expected result:
----------------
Print on screen: 200
In the amazon_source.txt is the HTML source of the page:
http://www.amazon.com/exec/obidos/search-handle-url/index=stripbooks&amp;field-keywords=food%20for%20mood&amp;results-process=default&amp;dispatch=search/ref=pd_sl_aw_tops-1_stripbooks_6069142_2&amp;results-process=default


Actual result:
--------------
Print on screen: 404
In the amazon_source.txt is the 404 error page of Amazon</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_URL Bug
Reported by khoinqq
2008-02-12T07:12:41+00:00
PHP: 5.1.4 OS:  Package Version: 

Description:
------------
Some time when we request a URL with a param contains &quot;+&quot; which is the encode of &quot;space&quot;, for example:
http://www.example.com/search?keyword=my+keyword
Then the page is response for 301 and redirect to 
Location: /newsearch?keyword=my keyword 
(the site response with URL contains space), the HTTP_Client request it &quot;as is&quot; without encode the URL, made the URL to be corrupt and return 404.

Test script:
---------------
&lt;?php
require_once &quot;HTTP/Client.php&quot;;
// This URL is came from a spider, and is properly encoded
$url = &quot;http://www.amazon.com/o/redirect%3Ftag%3Damd-google-20%26path%3Dsearch-handle-url/index%3Dstripbooks%2526field-keywords%3Dfood%2520for%2520mood%2526results-process%3Ddefault%2526dispatch%3Dsearch/ref%3Dpd_sl_aw_tops-1_stripbooks_6069142_2&quot;;
$client = new HTTP_Client();
$content= $client-&gt;get($url);
$response = $client-&gt;currentResponse();
echo $content;
file_put_contents(&quot;amazon_source.txt&quot;, $response['body']);

Expected result:
----------------
Print on screen: 200
In the amazon_source.txt is the HTML source of the page:
http://www.amazon.com/exec/obidos/search-handle-url/index=stripbooks&amp;field-keywords=food%20for%20mood&amp;results-process=default&amp;dispatch=search/ref=pd_sl_aw_tops-1_stripbooks_6069142_2&amp;results-process=default


Actual result:
--------------
Print on screen: 404
In the amazon_source.txt is the 404 error page of Amazon</pre>]]></description>
      <dc:date>2008-07-23T15:04:59+00:00</dc:date>
      <dc:creator>khoi &amp;#x64;&amp;#111;&amp;#x74; nqq &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_URL Bug</dc:subject>
    </item>
</rdf:RDF>
