将 iframe 中的页面从 https 加载到 https 时出现混合内容错误

Errors of mixed content while loading page in iframe from https to https

我试图在 https 页面上通过 https 加载 iframe 中的页面,但出现混合内容错误。 (https://prnt.sc/h4qdir)

要求url

错误:

#

混合内容:位于“https://auto-dina.ru/purchase/finance/credit/calc/?back_url=~y7YDI&pl=Y&MODEL=touareg&COMP=touareg_v6&PRICE=3598500' was loaded over HTTPS, but requested an insecure resource 'http://cars.volkswagen.ru/credit/garant/touareg/?complect=touareg_v6&price=3598500&mode=iframe&view=no-form”的页面。此请求已被阻止;内容必须通过 HTTPS 提供。

#

我发现 URL 模型代码后没有斜线“/”。 显然,在 .htaccess 文件中请求的站点上重定向到“/”的规则高于 https 规则或类似规则。 无论如何,在 URL 地址中添加斜线解决了我的问题