-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http or https for canonical URIs of Getty, Wiki*, and others? #577
Comments
Yes to Linked Art implementations for https if at all possible. At this point in the evolution of the web, I think it's borderline irresponsible to not use HTTPS. The URI (as opposed to URL) of existing instances and ontological terms however is important to be consistent, otherwise the graph doesn't connect properly and applications relying on the exact URI don't process things as expected. The namespaces for instances we might refer to that I believe are correct, and please correct if not:
The issue that would come up is if you dereference an http URI in a browser via XHR/fetch from within an environment that is served via HTTPS, you get the mixed active content error. This comes up in IIIF relatively often when some organizations serve content via HTTP and others via HTTPS, and then Mirador via HTTPS won't load the HTTP manifest. Docs from Mozilla on mixed content are very good: https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content |
I think wikidata recommends https but I think that's from a security perspective, not necessarily a change in the scheme of canonical URIs. It looks like RDK's permalink's use https |
Wikidata asserts their namespace as:
in the RDF serializations. e.g. (and I don't recommend this as it's LONG ... don't say I didn't warn you ...)
(You can |
It seems like the "Semantic View" URIs for AAT resources discovered through search has recently (?) switched from |
@edwardanderson True, but in the representation it's still http. Eg: https://vocab.getty.edu/aat/300194222.jsonld It's a pervasive and super frustrating issue :( And compounded by people using the human view rather than the canonical URI in the data (e.g. aat/page/300194222 instead of aat/300194222) In terms of "solve at the right level" this is a data concern, and we could create some helpful tooling around it to fix URIs in bad data (e.g. consider: https://github.com/project-lux/data-pipeline/blob/main/pipeline/config.py#L168-L234 ) and document what we expect ... but data is what it is, and all we can do is whack the moles when they show up. |
And here at Getty we're aware of this, and as we work to improve the Vocabs over the next year or so we're trying to think of what we can do to solve the UX issues here—as Rob said, the conflict between Cool URLs and changes in browser/internet security practices over the past decade are a thorny issue. |
@workergnome Let's chat next week -- and we could have that chat in public (again) too if you want, given the topic of the meeting :) |
sounds informative. where do I get tickets? |
Is there an issue here? At best a recipe / note that lists the namespaces? |
We say here: https://linked.art/api/1.0/protocol/
that https is the preferred protocol for Linked Art implementations and presumably that also means for the canonical URIs of published entities.
Getty is still reporting http:// at the top of their concept pages, e.g.: http://vocab.getty.edu/aat/300311458
Will referencing the AAT with https:// create problems with linking up data sets due to the URI's scheme differences? I see that Yale is using http for both Getty and Wikidata. Wikimedia, by the way, might have officially switched theirs to https. So, I guess my question for those familiar with processing data sets from multiple institutions is whether this is a problem that is so common that it must be solved by any system consuming linked data or should implementations pay close attention to the examples given by the authorities when those examples are present? Or maybe so long as an http -> https redirect is in place at the authority, either will work?
The text was updated successfully, but these errors were encountered: