jhu-idc / iDC-general

Contains non-code-base specific tickets relating to the Islandora8 for Digital Collection project
0 stars 0 forks source link

Metadata export on test not working, possibly due to mixed content error #484

Closed jabrah closed 2 years ago

jabrah commented 2 years ago

image

The network requests shows the link making an http request, resulting in a 301 response pointing to the expected https link. However I think the browser spikes this redirect because of the mixed content

Mixed Content: The site at 'https://test.digital.library.jhu.edu/' was loaded over a secure connection, but the file at
'https://test.digital.library.jhu.edu//system/files/views_data_export/export_metadata_data_export_2/1-1642794399/idc-data-export-collections-1642794399.csv'
was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked.
See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.
jabrah commented 2 years ago

This seem in Chrome due to the browser's mixed-content policy. The download works fine in Firefox, for example

jabrah commented 2 years ago

Seems to work for me now