Repository navigation
Commit c2ea817
committed
refactor(jsonrpc): narrow parsing catch to JsonProcessingException
Request bodies that are not well-formed UTF-8 or that contain a NUL byte
are rejected before parsing, so the parser only sees UTF-8 input held in
memory and reports every failure as a JsonProcessingException. Go back to
catching that type. The try block still covers only the parse call.
No behavior change.1 parent bf6d23a commit c2ea817
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| |||
0 commit comments