Index: documentation/manual/en/module_specs/Zend_Validate-Hostname.xml
===================================================================
--- documentation/manual/en/module_specs/Zend_Validate-Hostname.xml (revision 24569)
+++ documentation/manual/en/module_specs/Zend_Validate-Hostname.xml (working copy)
@@ -94,18 +94,21 @@
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: