Hello,

I try to pass a local http uri ("http://my.prj.lh";)  to Zend_Uri, but it
brings me an exception "Invalid URI supplied".

I can see in Zend_Http_Uri file, that it tries to validate with
constant ALLOW_ALL

code snippet:
$validate = new Zend_Validate_Hostname(Zend_Validate_Hostname::ALLOW_ALL);

but in the Zend_Validate_Hostname there is no place where it would check for
this constant. At least I cant understand the logic...

My question is, should validating my local address work? Or is it a BUG and
it will be fixed?


--
Pagarbiai,
Vladas Diržys
Tel.: +370 620 69020
www.dirzys.com

Reply via email to