miru-project/miru-app

部分网站Http请求头区分大小写问题

Open

#254 创建于 2024年4月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Dart (236 fork)batch import
help wanted

仓库指标

Star
 (5,505 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Brief summary

屏幕截图 2024-04-21 160200 屏幕截图 2024-04-21 160127 部分网站(如https://hanime1.me/等)Http请求头区分大小写,使用小写请求头对被网站重定向到验证页面

Steps to reproduce

图片 屏幕截图 2024-04-21 160200 使用Burp Suite抓包发现大写请求头会被自动改写为小写

建议: 使用dio的options.preserveHeaderCase选项关闭大写自动转小写功能 屏幕截图 2024-04-21 162227

Miru version

1.8.1

Device

windows 11,xiaomi 14

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • If this is an issue with a extension, I should be opening an issue in the extension repository.

贡献者指南