Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PB-932: Avoid UTF-8 truncation in logging
The request body is in utf-8 which needs either 1 byte or 2 bytes per character depending on the character, so we need to decode first before truncating otherwise we might truncate in the middle of a utf-8 character and it will break the decode.
- Loading branch information