ZF-11624: Zend_Uri should allow to set the level of Zend_Validate_Hostname

Issue Type: Improvement Created: 2011-07-29T07:45:11.000+0000 Last Updated: 2011-07-29T08:49:33.000+0000 Status: Open Fix version(s): Reporter: Grégoire ROBIN (nodashi) Assignee: Shahar Evron (shahar) Tags: - Zend_Uri

Related issues: Attachments:


When using Zend_Uri, you can not use an url compliant with the RFC3986.

By default, Zend_Uri ask to Zend_Uri_Http to validate hostname which rely on Zend_Validate_Hostname.

In Zend_Uri_Http::validateHost(), Zend_Validate_Hostname is called with Zend_Validate_Hostname::ALLOW_ALL.

It should be possible to adjust this parameter to use Zend_Validate_Hostname::ALLOW_URI that allow to use an url compliant with the RFC3986.


Posted by Thomas Weidner (thomas) on 2011-07-29T08:49:33.000+0000

Detaching Zend_Validate from the affected components. This is only an improvement for Zend_Uri.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.