Open drencrom opened 2 years ago
=?iso-8859-1?Q?Preparaci=F3n_de_puesto_de_trabajo_SofiaCafaro-Altenix?= =?iso-8859-1?Q?BC.xlsx?=
This is undecoded filename. Using iso-8859-1, in your code, you must decode the rest of the string to get human readable file name. This is probably what outlook and thunderbird are already doing.
Describe the bug I found a problem parsing the name of an email attachment. If I open the same email in outlook or thunderbird the attachment name is shown correctly. Also tested with an RFC 2047 decoder and works OK.
To Reproduce Send an email with an attachment whose name is encoded in the following way:
Expected behavior The attachment name should be
Preparación de puesto de trabajo Sofia Cafaro - Altenix BC.xlsx
but the api shows it as=?iso-8859-1?Q?Preparaci=F3n_de_puesto_de_trabajo_Sofia_Cafaro_-_Altenix_?= =?iso-8859-1?Q?BC.xlsx?=
Version tested:
Mail server: