Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openapi请求如果key有[],则报400错误 #4422

Closed
1 of 3 tasks
PeterHang opened this issue Jun 17, 2022 · 0 comments · Fixed by #4424
Closed
1 of 3 tasks

openapi请求如果key有[],则报400错误 #4422

PeterHang opened this issue Jun 17, 2022 · 0 comments · Fixed by #4424
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@PeterHang
Copy link

PeterHang commented Jun 17, 2022

描述bug

简洁明了地描述一下bug
openapi的Java client,1.7.0,如果key是a[0],则会在url拼key时转成a%5B0%5D,请求就会报400错误,是不是应该默认设置Tomcat参数能转义?

复现

通过如下步骤可以复现:

期望

简介明了地描述你希望正常情况下应该发生什么

截图

如果可以,附上截图来描述你的问题

额外的细节和日志

  • 版本:
  • 错误日志
  • 配置:
  • 平台和操作系统
@nobodyiam nobodyiam added the bug Categorizes issue or PR as related to a bug. label Jun 18, 2022
nobodyiam pushed a commit that referenced this issue Jun 21, 2022
…[0]" (#4424)

* fix:occur a 400 error request when openapi key's parameter contain "a[0]"(#4422)

* update CHANGES.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants