• <i id='Yc9Xm'><tr id='Yc9Xm'><dt id='Yc9Xm'><q id='Yc9Xm'><span id='Yc9Xm'><b id='Yc9Xm'><form id='Yc9Xm'><ins id='Yc9Xm'></ins><ul id='Yc9Xm'></ul><sub id='Yc9Xm'></sub></form><legend id='Yc9Xm'></legend><bdo id='Yc9Xm'><pre id='Yc9Xm'><center id='Yc9Xm'></center></pre></bdo></b><th id='Yc9Xm'></th></span></q></dt></tr></i><div id='Yc9Xm'><tfoot id='Yc9Xm'></tfoot><dl id='Yc9Xm'><fieldset id='Yc9Xm'></fieldset></dl></div>

    <small id='Yc9Xm'></small><noframes id='Yc9Xm'>

    1. <legend id='Yc9Xm'><style id='Yc9Xm'><dir id='Yc9Xm'><q id='Yc9Xm'></q></dir></style></legend>

        <tfoot id='Yc9Xm'></tfoot>
          <bdo id='Yc9Xm'></bdo><ul id='Yc9Xm'></ul>

      1. 解析标头 X-XSS-Protection 时出错 - Google Chrome

        时间:2023-09-06

          <small id='QxqTW'></small><noframes id='QxqTW'>

          <i id='QxqTW'><tr id='QxqTW'><dt id='QxqTW'><q id='QxqTW'><span id='QxqTW'><b id='QxqTW'><form id='QxqTW'><ins id='QxqTW'></ins><ul id='QxqTW'></ul><sub id='QxqTW'></sub></form><legend id='QxqTW'></legend><bdo id='QxqTW'><pre id='QxqTW'><center id='QxqTW'></center></pre></bdo></b><th id='QxqTW'></th></span></q></dt></tr></i><div id='QxqTW'><tfoot id='QxqTW'></tfoot><dl id='QxqTW'><fieldset id='QxqTW'></fieldset></dl></div>
          <legend id='QxqTW'><style id='QxqTW'><dir id='QxqTW'><q id='QxqTW'></q></dir></style></legend>
            • <bdo id='QxqTW'></bdo><ul id='QxqTW'></ul>
                <tbody id='QxqTW'></tbody>

              <tfoot id='QxqTW'></tfoot>

                  本文介绍了解析标头 X-XSS-Protection 时出错 - Google Chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在 Windows 10 机器上将 Google Chrome 升级到 版本 64.0.3282.140(官方构建)(64 位).完成后,我在开发人员工具控制台中的网站上收到此错误.不确定从哪里开始.去年我确实看到了类似的问题,这是 youtube 的问题(也在 url 中),但我还没有看到任何解决方案.

                  I upgraded Google Chrome to Version 64.0.3282.140 (Official Build) (64-bit) on a Windows 10 machine. Once I did, I am getting this error on my site within the developer tools console. Not real sure where to start. I did see a similar issue last year that was an issue with youtube (also in the url), but I haven't seen any solutions.

                  Error parsing header X-XSS-Protection: 1; mode=block; 
                  report=https://www.google.com/appserve/security-bugs/log/youtube: insecure 
                  reporting URL for secure page at character position 22. The default 
                  protections will be applied.
                  16:07:31.905
                  

                  当我通过嵌入式 url 直接访问 youtube 时,我也看到了这个问题,所以它不仅仅是在我的网站上.

                  I'm also seeing the issue when I go directly to youtube via the embedded url so it's not just on my site.

                  更新

                  我在响应中附上了一张标题的照片,表明似乎正在产生问题的 google.com 网址.

                  I've attached a photo of the headers in the response that indicate the google.com url that appears to be generating the issue.

                  推荐答案

                  这是当前 Google Chrome 和 Chromium 中的一个已知错误:
                  https://bugs.chromium.org/p/chromium/issues/detail?id=807304

                  It's a known bug in the current Google Chrome and Chromium:
                  https://bugs.chromium.org/p/chromium/issues/detail?id=807304

                  在当前版本的浏览器中,出于某些安全原因,Chrome 开发人员已将 X-XSS-Protection 的报告字段 URL 限制为相同的域来源.因此,当您使用一些嵌入代码嵌入视频时,它会从另一台服务器下载,其中标题为report=https://www.google.com/" 已设置,并且当您的页面未托管在 google.com 域中时 - 会出现错误消息.

                  In the current version of their browser, the Chrome developers had restricted the X-XSS-Protection's report field URL to the same domain origin for some security reasons. So, when you embed a video with some embed code, as it downloads from another server where the header "report=https://www.google.com/" is set, and while your page is not hosted at the google.com domain - the error message occurs.

                  然而,所有小型网站(包括 youtube.com)都在发送包含不同来源域的报告 URL.很可能,他们甚至不知道 Chrome 最近的这种变化.因此,要么 YouTube 将更改其标题,要么 Chrome 开发人员将其还原.作为最终用户,我们无能为力.等他们解决这个问题.

                  Yet, all minor sites (including youtube.com) are sending report URL with different origin domains in it. Probably, they are not even aware of this recent change in Chrome. So either YouTube will change their headers or Chrome developers will revert this. There's nothing that we, as end users, can do. Just wait till they sort this out.

                  更新:

                  该问题已在版本 66.0.3359.117(官方构建)(64 位)中修复

                  这篇关于解析标头 X-XSS-Protection 时出错 - Google Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:YouTube API 目标(多个)现有 iframe 下一篇:让嵌入式 YouTube 视频自动播放和循环播放

                  相关文章

                    <bdo id='3trxy'></bdo><ul id='3trxy'></ul>

                    <small id='3trxy'></small><noframes id='3trxy'>

                  1. <legend id='3trxy'><style id='3trxy'><dir id='3trxy'><q id='3trxy'></q></dir></style></legend>
                    <tfoot id='3trxy'></tfoot>

                    <i id='3trxy'><tr id='3trxy'><dt id='3trxy'><q id='3trxy'><span id='3trxy'><b id='3trxy'><form id='3trxy'><ins id='3trxy'></ins><ul id='3trxy'></ul><sub id='3trxy'></sub></form><legend id='3trxy'></legend><bdo id='3trxy'><pre id='3trxy'><center id='3trxy'></center></pre></bdo></b><th id='3trxy'></th></span></q></dt></tr></i><div id='3trxy'><tfoot id='3trxy'></tfoot><dl id='3trxy'><fieldset id='3trxy'></fieldset></dl></div>