Error parsing header X-XSS-Protection - Google Chrome

前端 未结 2 1485
你的背包
你的背包 2020-12-07 18:18

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 d

相关标签:
2条回答
  • 2020-12-07 18:39

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

    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.

    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.

    UPDATE:

    The issue has been fixed in Version 66.0.3359.117 (Official Build) (64-bit)

    0 讨论(0)
  • 2020-12-07 18:47

    The issue has been fixed in Google Chrome new update.

    Version 66.0.3359.117 (Official Build) (64-bit)

    Make sure you have updated Chrome to this version.

    0 讨论(0)
提交回复
热议问题