Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.3.0
-
None
Description
SubmitRestProtocolMessage.parseAction casts the result of parse(json) to JObject, but this cast can fail if invalid requests can still be parsed as other JSON types, such as JSON strings. We should replace this unchecked cast with pattern-matching in order to handle these types of invalid requests.