ZF-11900: Zend_Validate_Hostname::ALLOW_ALL does not match documentation

Description

The manual for Zend_Validate_Hostname says: "For security reasons ALLOW_URI is not contained within ALLOW_ALL." This is not true: ALLOW_ALL is 15, which does contain ALLOW_URI (8). Additionally, the Docstring for both constants says the same: "Allows all types of hostnames".

Either the documentation is incorrect ot ALLOW_ALL should be set to 7 to match the documented behavior.

Comments

Doc-Problem, code is correct

I've attached a patch which updates this section of the manual to reflect the actual implementation.

Patch ok. Feel free to commit

Fixed in trunk r24570. Merged to release-1.11 in r24571