Skip to content
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

link changes from https to http #5

Open
fgayanilo opened this issue Oct 30, 2019 · 8 comments
Open

link changes from https to http #5

fgayanilo opened this issue Oct 30, 2019 · 8 comments
Labels

Comments

@fgayanilo
Copy link
Member

If you visit https://mmisw.org/ont/cf/parameter and search (for example), 'latitude', the links are in http but the hyperlinks are in https. This link 'https://mmisw.org/ont/cf/parameter/latitude' will throw an error (IRI not found) but not if you manually change it to http://mmisw.org/ont/cf/parameter/latitude

@carueda carueda added the bug label Oct 30, 2019
@carueda
Copy link
Member

carueda commented Oct 30, 2019

Thanks for reporting this issue:

Yes, the hyperlink here:

image

should be:

https://mmisw.org/ont?iri=http://mmisw.org/ont/cf/parameter/latitude

instead of:

https://mmisw.org/ont/cf/parameter/latitude

Alternatively, the ORR could also detect that there's actually such IRI if only the scheme https is replaced by http -- in fact I remember adding logic for this kind of replacements, so perhaps this is actually a regression.

@graybeal @lewismc FYI

@graybeal
Copy link
Member

graybeal commented Oct 30, 2019 via email

@carueda
Copy link
Member

carueda commented Oct 30, 2019

The ORR at mmisw.org has been fully functional with https.

(The http-to-https redirection is actually unrelated to the issue here, but something I suggested long ago though so far unimplemented perhaps because of lack of response or "official" approval AFAICR, or simply because everyone forgot about it. Nonong, you are welcome to enable it at any time ;)

@fgayanilo
Copy link
Member Author

Do we need to update the DB contents itself when I get to 'force' redirect all calls to https?

@carueda
Copy link
Member

carueda commented Oct 30, 2019

No. This is just about http-to-https redirection. Thanks!

@fgayanilo
Copy link
Member Author

Redirect to https is done

@carueda
Copy link
Member

carueda commented Oct 30, 2019

Just tried http://mmisw.org/ont , but gets redirected to https://mmisw.orgont . Seems like a slash is missing in the translation when there's a path in the original request. Thanks.

@fgayanilo
Copy link
Member Author

Ooops! thanks for the catch, done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants