wttw/aboutmyemail

Zero bytes in text parts cause processing to fail

Closed this issue · 1 comments

wttw commented

If a text/* part has a zero byte in it that will be encoded to JSON as \u0000, which postgresql jsonb does not support.

We should catch the database write failure and do ... something, and also strip nuls from the text parts we're saving.

wttw commented

Fixed in 0.9.21.