Open bwalsh opened 3 years ago
I believe part of what's happening here is mixing up URI's and URL's. Strings like "drs://..." are URIs, and are not meant to be parsed or resolved as if they were URLs. So "There appears to be invalid urls stored in gen3.anvil" can't be right, since those strings aren't URLs.
Yes the distinction between URI, URL and URN often get mixed up, and it is indeed a URI.
That doesn't deal with the issue though. I would restate it as the following being an invalid DRS URI. drs://dg.ANV0:dg.ANV0/1c772afd-7404-47fc-8636-92d49e314f00
drs://dg.ANV0:1c772afd-7404-47fc-8636-92d49e314f00 should be sufficient.
This issue is really a duplicate of #340.
All: I may be missing something, but assuming we want the drs identifier to be a uri, do we need to re-think the over-ride of the port field?
As it stands, I don't think it is plug compatible with [http, ftp, s3, gs,....]. This is problematic for typed systems that validate url properties (ie fhir)