Consider making SWHID handling case insensitive
Some of our (growing number of) users have raised an interesting issue: we should consider making SWHID handling case insensitive.
Here is an excerpt of a message from Mohammad Akhlaghi that explains the use case.
it would be good if the resolvers also interpret all-caps SWHIDs like:
SWH:1:CNT:66C1D53B2860A40AA9D350048F6B02C73C3B46C8
[...] the issue is that some LaTeX packages or web services automatically set everything to all caps, for example, the header on the top of the PDF pages of https://gitlab.com/makhlaghi/maneage-paper-pdf/-/raw/master/paper.pdf (that contain the DOI, arXiv or Zenodo links and uses '\markboth'). If you click on the arXiv link at the header of the PDF above, it won't work because while the 'arxiv.org' part is not case-sensitive, the 'abs/' part is. I have sent an email to the arXiv maintainers about this. But it works for the DOI links (I guess the 'doi.org' server is not-case-sensitive).
Should we consider changing the current specification of the SWHIDs that mandates lowercase letters everywhere in a core SWHID, or just simply lowercasing the core SWHIDs during resolutions?
Migrated from T3298 (view on Phabricator)