【问题标题】:Mixed content: insecure font URL showing as 'https:' only混合内容:不安全的字体 URL 仅显示为“https:”
【发布时间】:2018-05-30 01:34:44
【问题描述】:

请看下图。这些错误只发生在 Chrome 上。它似乎下载了一种字体,但 URL 只是 'https:'

我已经搜索了我所有的源代码,并且没有对任何字体或 css 的单一请求,只有“https:”URL。我拥有绝对 URL 中的所有内容。

Font url only showing as 'https:'

Network traffic showing requests to download fonts with 'https:' URL

【问题讨论】:

  • 您使用的是a2hosting之类的云主机吗?

标签: https mixed-content


【解决方案1】:

我假设您正在使用 Cloudflare,您可能想查看此链接 here

【讨论】:

  • 已经发现了问题。 modernizr.js 注入带有一些 @font-face 定义的样式块,其中 url 指定为 url:('https://')
猜你喜欢
  • 2015-12-04
  • 1970-01-01
  • 2019-10-10
  • 2023-03-16
  • 2018-07-23
  • 2020-05-30
  • 1970-01-01
  • 1970-01-01
  • 2015-12-15
相关资源
最近更新 更多