json_body is used in places that need authentication. In case an unknown field is set, Ruma doesn't parse the field and so doesn't give an error on invalid UTF-8. But Conduit has parsed and on error makes json_body None. Return an error to the client instead of generating an internal error. |
||
|---|---|---|
| .. | ||
| client_server | ||
| database | ||
| appservice_server.rs | ||
| database.rs | ||
| error.rs | ||
| lib.rs | ||
| main.rs | ||
| pdu.rs | ||
| ruma_wrapper.rs | ||
| server_server.rs | ||
| utils.rs | ||