KocsisDaniel/liferay-portal — pull request #90 by vilmospapp (2012-07-24 09:13:18+00:00)
Title: LPS-28176 Implementing IPv6 validation and update IPv4 pattern to cleaner, OWASP recommended pattern

Hi Dani,

I fixed an issue with hostname validation earlier (LPS-28495). During the testing of it I found that IPv6 validation should be more robust to meet the standard. Now I implemented a regexp for it, and added some logic in the validator function as well. Also prepared the hostname validator to handle IPv4 and IPv6 addresses properly.

Regards,
Vilmos