当前位置:网站首页>Request alarm: refer policy: strict origin when cross origin or reference site policy: no refer when downgrade

Request alarm: refer policy: strict origin when cross origin or reference site policy: no refer when downgrade

2022-06-13 08:19:00 Parthenocissus still works

Submit form and send ajax When asked ,chrome Request returns Referrer Policy: strict-origin-when-cross-origin error ,360 Browser return Reference site policy :no-referrer-when-downgrade,

The main reason for this kind of problem is that the website is currently using https, And submit forms or ajax The request uses http, It can be classified as a cross domain problem . Just put the form or ajax Request by the http It is also revised to https that will do .

        such http and https Is a cross-domain problem , It can also lead to cookie The illusion of failure . It's hard to detect without careful observation ( The pit I met ) There's nothing wrong with the code .

原网站

版权声明
本文为[Parthenocissus still works]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202270544564064.html