Revert "HM/TJ: validate uris on spaces and pipes."

This reverts commit 1b0af2e11b73b2c7b6703c047417c6934e483677.