Issues

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

Description

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.

Comments

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