Skip to content

eve crashes on malformed sort parameters #1248

@NotSpecial

Description

@NotSpecial

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions