modoboa / modoboa-webmail

The webmail of Modoboa
MIT License
76 stars 47 forks source link

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

Open QThans opened 1 year ago

QThans commented 1 year ago

image

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

tonioo commented 1 year ago

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

QThans commented 1 year 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