Content not served on HTTPS sites due to HTTP urls for assets

Created on 22 April 2020, over 5 years ago
Updated 23 February 2023, over 2 years ago

When serving h5p content over HTTPS, urls for css and js assets are hardcoded to http and therefore do not render correctly. This is caused by use of file_create_url() and can be resolved by wrapping that in a call to file_url_transform_relative()
Patch attached which should resolve this

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States realgt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024