-
Notifications
You must be signed in to change notification settings - Fork 532
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: when user not fill in remote address
, remote_addrs
should be [], but not [""]
#940
Comments
Server API should never trust input |
sure,backend need to fix it too |
APISIX has fixed this bug: https://github.com/apache/apisix/pull/2907/files need to sync the JSON schema. |
related issue #856 (comment) Just to make sure, will manager-api check the input from the client? (no matter using API or frontend), the manager-api must not trust any data from client. |
oh I noticed this comment, API should never trust any data from client.
|
"not pass the remote_addrs field" should be better. |
#856 (comment) I have replied this question before.
|
Bug report
How to Reproduce
use dashboard to create a route without filling in
remote address
wait a few minutes, will find some error log like
The text was updated successfully, but these errors were encountered: