modoboa / modoboa-webmail

The webmail of Modoboa
MIT License
73 stars 48 forks source link

why my filename cannot be decode by using urldecode? #253

Open QThans opened 10 months ago

QThans commented 10 months ago

image

and, why do my filenames contain utf-8" in the filename?

tonioo commented 10 months ago

It looks like the webmail fails to properly decode attachment file names

QThans commented 10 months ago

I think so, so I modified the imapemail.py, using the urllib.parse.unquote to decode then it's ok.

But, I do not why the filename contains the utf-8'', this string is inserted at line 105 of the rfc6266.py