Yes,

The URL is valid, you can check this URL ..

http://www.house-removals-uk.co.uk/links.asp?cat=home%20search

and after using urlencode() it was

http://www.house-removals-uk.co.uk/links.asp?cat=home+search



Simon Mundy wrote:
> 
> URIs need to be encoded. Pass your string through urlencode() before  
> sending it on to Zend_Uri.
> 
>> I am using Zend_HTTP_Client and trying to make a request for a URL  
>> which is having some query string parameters but the values are  
>> having [space] in between like ....php?cat=sweet home When I pass  
>> such URL Zend_Uri throw an exception "Invalid URI supplied" .. here  
>> is the TOP code of the exception. Zend_Uri_Exception Object (
>> [message:protected 
>> ] => Invalid URI supplied [string:private] => [code:protected] => 0  
>> [file:protected] => C:\xampp\htdocs\link_checker\library\Zend\Uri 
>> \Http.php [line:protected] => 97 [trace:private] => Array .... Is  
>> anyone can suggest .. what should i do in order to request such  
>> URLs .. Thanks
>> View this message in context: Zend_Uri fails / throw exception  
>> while ..
>> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 
> --
> 
> Simon Mundy | Director | PEPTOLAB
> 
> """ " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
> 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
> Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654  
> 4124
> http://www.peptolab.com
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_Uri-fails---throw-exception-while-..-tf4205069s16154.html#a11961446
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to