dasch-swiss / ark-resolver-data

DaSCH Ark Resolver Data
0 stars 2 forks source link

Invalid/Reserved characters stop redirection from N2T #39

Closed julsraemy closed 2 years ago

julsraemy commented 2 years ago

Regarding #29 and @irinaschubert's comment that http://n2t.net/ark:/72163/0812-179488a1f0d91-0.2021422 redirects to an invalid ARK:

In Salsah (to my knowledge, but perhaps in other DaSCH-related systems), hyphens are being used within URLs and the N2T global resolver doesn't redirect to the correct URL (for our case: https://data.dasch.swiss/resources/422236) as it is a reserved character that is ignored (see 2.6 of the ARK specification).

We need to stop using the following characters when we assign ARKs if we want the global resolver to work:

= # * + @ _ $

as well as

% - . /

NB: It should be noted though that http://ark.dasch.swiss/ark:/72163/0812-179488a1f0d91-0.20211116 redirects to https://data.dasch.swiss/resources/422236. I would suggest though to follow the ARK specification for our local resolver as well.

julsraemy commented 2 years ago

Issue created on Jira