Skip to content

[bug] http协议在hsts host上被错误升级 #2571

@naiyQAQ

Description

@naiyQAQ

Describe the bug
使用 Reqable 在 https 协议下抓包一个会设置 hsts 的响应。然后,在对应 host 上启动一个 http 服务(可以是别的端口),然后用 http 协议访问。此时如果开着 Reqable 抓包,则它会把该请求错误地升级到 https 而导致请求直接失败。

To Reproduce
见上面

Expected behavior
遵循实际请求的协议类型,不在 http 请求时错误升级到 https ,而是直接透传

Screenshots
If applicable, add screenshots to help explain your problem.

Information

  • Platform: android 13
  • OS: android 13
  • Arch: arm64
  • App Version: 3.0.40

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions