CloudFlare在重复授权标题上返回400个不良请求

发布于 2025-02-03 07:14:52 字数 630 浏览 2 评论 0原文

我的项目是在Laravel 8中。 最近,我们在AWS上转到了另一个实例。问题是在Android方面,授权令牌在请求中重复出现,我从Cloudflare获得了400不良请求

在Postman上,我测试如下:

带有单个授权标头,我得到了适当的响应

< img src =“ https://i.sstatic.net/05c1k.png” alt =“带有单个授权标题”>

带有重复的授权标题,我从Cloudflare那里得到400个不好的请求

除了在Playstore上发布另一个APK外,请向我建议我摆脱此响应的方法。

My project is in Laravel 8.
Recently we have moved to another instance on aws. The problem is in android side, Authorization token is repeated in request and I am getting 400 bad request from cloudflare.

On postman I tested as follows:

With single Authorization header I am getting proper response

With single Authorization header

With repeated Authorization header, I am getting 400 Bad Request from cloudflare

With repeated Authorization header

Please suggest me the ways to get rid of this response, apart from releasing another APK on playstore.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文