OpenSearch/server
Rory Hunter cf5f013033
Return 400 when handling invalid JSON (#49558)
Backport of #49552.

Closes #49428. The code that works out an HTTP code for an exception didn't
consider the JsonParseException case, meant that an invalid JSON request could
result in a 500 Internal Server Error. Now it returns 400 Bad Request.
2019-11-26 12:36:56 +00:00
..
licenses Upgrade to joda 2.10.4 (#47805) 2019-10-31 14:49:50 +01:00
src Return 400 when handling invalid JSON (#49558) 2019-11-26 12:36:56 +00:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00