ajv-formats icon indicating copy to clipboard operation
ajv-formats copied to clipboard

URI format to restrictive

Open zoellner opened this issue 3 years ago • 4 comments

URIs should be allowed to have characters outside of a-zA-z, e.g. ñ and other non-ascii characters.

zoellner avatar Apr 27 '22 15:04 zoellner

Running into a situation where internet archive URLs are not allowed. The depreciated URL format seems to be more flexible.

bcomnes avatar Jan 25 '23 20:01 bcomnes

Running URLs through new URL and then taking the toString() results properly escapes these URLs to pass validation, however it does make them less readable.

bcomnes avatar Jan 25 '23 21:01 bcomnes