Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
QThans opened this issue Oct 18, 2023 · 2 comments
Open

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

QThans opened this issue Oct 18, 2023 · 2 comments

Comments

@QThans
Copy link
Contributor

QThans commented Oct 18, 2023

image

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

@tonioo
Copy link
Member

tonioo commented Oct 20, 2023

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

@QThans
Copy link
Contributor Author

QThans commented Oct 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants