Skip to content

[bug] API调试时,重定向URI处理错误 #1465

@Xarriors

Description

@Xarriors

Describe the bug
重定向URI处理错误

例如请求某API接口,该接口返回重定向

重定向URI为

/xxxx/v1/xxxx?service=xxxx

Image

reqable在自动重定向的时候,把uri中的?自动的encode成了%3F,导致服务端无法处理,返回了http400

Image

希望reqable在重定向时,能不修改Location,根据服务端返回的Location,原样的进行重定向请求

或增加一个控制开关,控制不修改Location

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

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

Information

  • Platform: windows
  • OS: 11
  • Arch: x86-64
  • App Version: 2.33.4

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingp0Priority processing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions