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

pass base_url, not just hostname through to manifest generation #4663

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

no-reply
Copy link
Contributor

this change realigns with older Hyrax behavior that used the protocol
from the current controller's request as part of the argument to the IIIF image
URI generator.

related to #4572.

@samvera/hyrax-code-reviewers

jeremyf
jeremyf previously approved these changes Dec 12, 2020
this change realigns with older Hyrax behavior that used the protocol
from the current controller's request as part of the argument to the IIIF image
URI generator.
@no-reply
Copy link
Contributor Author

this is even simpler than i originally thought. i think it will fix nurax-dev's UV issues, but i'm uncertain whether nurax is still deploying, given Travis CI's issues. cc: @maxkadel @mark-dce

@orangewolf
Copy link
Member

This is likely a good change and moves you in the right direction. I would still recommend double checking the nginx or Apache headers or this may least to a forgery error (request.base_url does not match http origin or something like that). See https://serverok.in/nginx-rails-origin-header-didnt-match for the most concise of the thousand or so people running in to this ;-)

@jeremyf jeremyf merged commit 889539e into master Dec 14, 2020
@jeremyf jeremyf deleted the reinstate-manifest-protocol-inference branch December 14, 2020 00:39
jeremyf pushed a commit that referenced this pull request Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants