aerc/worker/lib
Koni Marti 955f7683af parse: fix content-type parsing error
If an error occurs when parsing the content-type, check if the
content-type is quoted; if so, remove quotes. If this is not the case,
then return a text/plain content-type as a sane fallback option, so that
the message can be at least viewed in plaintext.

Fixes: https://todo.sr.ht/~rjarry/aerc/44
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-06-07 16:19:27 +02:00
..
testdata/message parse: fix content-type parsing error 2022-06-07 16:19:27 +02:00
parse.go parse: fix content-type parsing error 2022-06-07 16:19:27 +02:00
parse_test.go parse: fix content-type parsing error 2022-06-07 16:19:27 +02:00
sort.go go.mod: change base git url 2021-11-05 10:21:45 +01:00