Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PB-932: Avoid UTF-8 truncation in logging #459

Merged
merged 1 commit into from
Sep 16, 2024
Merged

PB-932: Avoid UTF-8 truncation in logging #459

merged 1 commit into from
Sep 16, 2024

Commits on Sep 12, 2024

  1. 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.
    ltshb committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    67a0b8e View commit details
    Browse the repository at this point in the history