- 🇮🇹Italy marco.aresu Cagliari
Hi,
I created a patch to use relative url. The iframe url is generated with file_url_generator service.
The patch replace generateAbsoluteString method to generateString.In my case works Behind HTTPS Load Balancer.
- 🇺🇸United States glynster
Props to @marco.aresu the latest patch works a treat when using Varnish. We were encountering the same issue. Patch resolves the problem right away.
- 🇫🇷France erwangel
I tested patch from marco.aresu (#10) and it works but page attachments remain in http. For the moment I used
hook_page_attachments_alter
to correct this with astr_replace("http:", "https:", $url)
looping through
$attachments['#attached']['html_head_link'][1][0]['href']
I suppose the other patches don't correct this either.