diff --git a/documentation/manual/en/module_specs/Zend_Validate-Hostname.xml b/documentation/manual/en/module_specs/Zend_Validate-Hostname.xml index d51daaf6281..039216a599b 100644 --- a/documentation/manual/en/module_specs/Zend_Validate-Hostname.xml +++ b/documentation/manual/en/module_specs/Zend_Validate-Hostname.xml @@ -92,18 +92,21 @@ if ($validator->isValid($hostname)) { The Zend_Validate_Hostname constants are: ALLOW_DNS to allow only DNS hostnames, ALLOW_IP to allow IP addresses, - ALLOW_LOCAL to allow local network names, and - ALLOW_ALL to allow all three above types. + ALLOW_LOCAL to allow local network names, + ALLOW_URI to allow + RFC3986-compliant addresses, + and ALLOW_ALL to allow all four above types. - - Additionally there is ALLOW_URI which allows to check hostnames - according to RFC3986. These - are registered names which are used by WINS, NetInfo and also local - hostnames like those defined within your .hosts file. For security - reasons ALLOW_URI is not contained within - ALLOW_ALL. - + + Additional Information on ALLOW_URI + + ALLOW_URI allows to check hostnames + according to RFC3986. These + are registered names which are used by WINS, NetInfo and also local + hostnames like those defined within your .hosts file. + + To just check for IP addresses you can use the example below: