HM/TJ: validate uris on spaces and pipes.