cloud 遇见 strict-origin-when-cross-origin
时间: 2023-09-03 14:12:28 浏览: 209
eslint-plugin-strict-vue:Vue eslint插件具有使您的代码更严格的规则
在使用Spring Cloud整合Gateway Jwt时遇到了strict-origin-when-cross-origin跨域报错。这个问题可以在引用和引用中找到一些相关信息。该错误复现的过程是,当在90版本的Chrome中输入xxx.com时,会报错strict-origin-when-cross-origin。引用中提到,Chrome计划在85版开始将默认策略从no-referrer-when-downgrade更改为strict-origin-when-cross-origin。这意味着Chrome在发送HTTP请求时会更加严格地处理跨域请求。这可能是导致Cloud遇到strict-origin-when-cross-origin错误的原因。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Strict-origin-when-cross-origin跨域问题](https://blog.csdn.net/qq_36971119/article/details/121401468)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [记录一次strict-origin-when-cross-origin的错误](https://blog.csdn.net/m0_67392126/article/details/123227705)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文