Trim characters that match unicode.IsSpace and \u200b (zero-width space) from headers and base64 body. Unfortunately there is no way to ask base64 decoder to skip invalid characters, but we can at least try to trim unwanted characters at the beginning or end of lines.
Trim characters that match
unicode.IsSpace
and\u200b
(zero-width space) from headers and base64 body. Unfortunately there is no way to ask base64 decoder to skip invalid characters, but we can at least try to trim unwanted characters at the beginning or end of lines.Should fix https://github.com/keybase/client/issues/6996