You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Creating an HttpController with methods that take in uint64_t for example, and making a request to -1 will underflow and become UINT64_MAX.
Another related bug is if the URL contains characters, it still processes it.
Expected behavior
Should give 400 Bad Request upon error.
Desktop (please complete the following information):
OS: Ubuntu
Additional context
For the time being the only choice is to take by string and do validation manually.
The text was updated successfully, but these errors were encountered:
Describe the bug
Creating an
HttpController
with methods that take inuint64_t
for example, and making a request to -1 will underflow and becomeUINT64_MAX
.Another related bug is if the URL contains characters, it still processes it.
Expected behavior
Should give 400 Bad Request upon error.
Desktop (please complete the following information):
Additional context
For the time being the only choice is to take by string and do validation manually.
The text was updated successfully, but these errors were encountered: