rfc3986

Validating URI References per RFC 3986

Here are some articles that you may find helpful