hapijs/joi — pull request #457 by DavidTPate (2014-10-17 04:05:56+00:00)
Title: Add URI Validation

Hi there! Just started using this library and really enjoying it. Came up with a use case where I need to validate some URIs and noticed there were a few Pulls that came up but they were missing functionality. I went ahead and created a new library [isUri](/DavidTPate/isuri) which implements the full [RFC 3986](http://tools.ietf.org/html/rfc3986) in a build-up to a regular expression which it then uses to validate the URIs.

I added accompanying tests (similar to how email is tested currently) and also the error message as needed. I included all of the URLs that I've gathered thus far for testing my library as part of the tests, if there are any additional I'd love to add them to both implementations.