title: Zend says this URI is not valid
body: <p>I am generating a feed using Zend Framework.</p>
  
  <p>When I am setting a link like the one below, I get an error</p>
  
  <pre><code>$feed = new Zend_Feed_Writer_Feed;
  $url = "http://www.example.com/search?s=chris|gayle|pics&amp;device=1"
  $feed-&gt;setLink($url);
  </code></pre>
  
  <p>I searched through Zend_Uri.php and Http.php, I was not able to figure out the problem.</p>
  
  <blockquote>
    <p>exception 'Zend_Feed_Exception' with message 'Invalid parameter:
    parameter must be a non-empty string and valid URI/IRI'</p>
  </blockquote>