Specifying invalid parameters (api/rest/node?parameters[invalidparam]=12345) causes query errors as these go straight to db_query.
We should probably catch this if we know the field we are querying on doesn't exist.
Not sure if this is the same in 7.x-3.x
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1595124-throw-error-on-invalid-params.patch | 669 bytes | djdevin |
| #1 | 1595124-throw-error-on-invalid-params.patch | 688 bytes | djdevin |
Comments
Comment #1
djdevinSomething like this
Comment #2
djdevinComment #3
kylebrowning commented