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

bug: apisix 3.0 v3_adapter.filter(data) causes some API response body empty when disabling v3 admin API #8346

Closed
zlhgo opened this issue Nov 17, 2022 · 1 comment · Fixed by #8349
Labels
bug Something isn't working

Comments

@zlhgo
Copy link
Contributor

zlhgo commented Nov 17, 2022

Current Behavior

Perhaps should be return body ?

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

curl http://127.0.0.1:9180/apisix/admin/routes -H "X-API-KEY: ******" -i

Environment

  • APISIX version (run apisix version): 3.0
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@spacewander
Copy link
Member

Good catch! Would you like to submit a PR to fix it? Let's add tests in https://github.com/apache/apisix/blob/master/t/admin/api.t to verify the behavior.

@spacewander spacewander changed the title bug: apisix 3.0 v3_adapter.filter(data) causes some API response body empty bug: apisix 3.0 v3_adapter.filter(data) causes some API response body empty when disabling v3 admin API Nov 17, 2022
@spacewander spacewander added the bug Something isn't working label Nov 17, 2022
spacewander pushed a commit that referenced this issue Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants