Make URI validation accept any URI.

Change-Id: I1c35918abee4ca136c31bd4cb00a7afbe301b135