Closed carueda closed 4 years ago
Interesting, with running the orr-portal locally, it seems the appropriate encoding is actually in place:
Including correct handling when the link is clicked as expected:
However, the overall URL dispatch is different when in development mode because the prefix is different from the actual URL of the ORR repository and ("fully-hosted") ontologies.
So, will see what's getting in the way there.
Diagnostics: Yes, the no-hash-encoding issue only happens for "fully-hosted" (aka "self-hosted") ontologies
orr-portal part of the fix now in place (new version 3.9.0)
But there's still some back-end handling to be fixed (when the request is from a browser) as this IRI does exist as shown with the HTTPie command above.
3.9.1 enabled for the MMI ORR. (@graybeal )
Now all self-hosted ontology entries having a #
in the IRI are properly assigned encoded links for corresponding resolution.
A handy way to test this is to enter #
in the filter field and then inspect the relevant entries, which are those having https://mmisw.org/ont
as prefix. (All other non-self-hosted should continue to be dispatched properly.)
From https://github.com/mmisw/orr-ont/issues/73
Ok, so it's the one listed as
which, when clicked, you get
The trailing hash
#
has been "lost" because it's not being encoded (%23
).So, this is a regression as we have addressed similar issue in the past (a related entry is (https://github.com/mmisw/mmiorr/issues/213).
BTW, with proper encoding, I can see that there's an ontology registered by the IRI
https://mmisw.org/ont/~mohammedajooz/AWWM#
.This is hard to see with a browser, but on the command line: