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.

貢獻者指南