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

eve crashes on malformed sort parameters #1248

Closed
NotSpecial opened this Issue Mar 30, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@NotSpecial
Copy link
Contributor

NotSpecial commented Mar 30, 2019

When sending a malformed sorting parameter to eve, it should return 400 for bad request.
Instead, eve crashes and returns a 500.

This can be reproduces with the demo app:

This works:

curl "http://eve-demo.herokuapp.com/people?sort=firstname"

This crashes with 500, instead of returning 400:

curl "http://eve-demo.herokuapp.com/people?sort='firstname'"

Is there any way to fix this?

@NotSpecial

This comment has been minimized.

Copy link
Contributor Author

NotSpecial commented Apr 1, 2019

Thank you for the fast resolution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.