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

Make path to openseadragon images protocol relative #25

Closed
wants to merge 1 commit into from

Conversation

kayakr
Copy link

@kayakr kayakr commented May 12, 2020

GitHub Issue: Islandora/documentation#1504

What does this Pull Request do?

We encountered mixed content warnings in the browser console as OS on an HTTPS site was requesting its navigation button images via HTTP even with X-Forwarded-Proto configured. Even though it's due to be removed (https://www.drupal.org/project/drupal/issues/2669074 ) file_url_transform_relative() fixes the issue.

What's new?

Wrap file_create_url() with file_url_transform_relative().

How should this be tested?

Visit a Repository Item page on a site served by https and observe mixed content warnings in browser console. Apply patch. Reload page and observe no mixed content warnings.

Interested parties

@Islandora/8-x-committers

We encountered mixed content warnings in the browser console as OS on an HTTPS site was requesting its navigation button images via HTTP even with X-Forwarded-Proto configured. Even though it's due to be removed (https://www.drupal.org/project/drupal/issues/2669074 ) `file_url_transform_relative()` fixes the issue.
@elizoller
Copy link
Member

this might be superceded by #26

@bseeger bseeger changed the base branch from 8.x-1.x to 2.x October 5, 2021 17:53
@rosiel rosiel closed this Jul 20, 2022
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