We should require URL-safe character encoding in discovery, similarly how PURL is doing it - https://github.com/package-url/purl-spec/pull/461 We may want for the PURL PR referenced above to be merged to reuse similar approach with TEA.