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

Decode base64 bug #70

Open
hardway777 opened this issue Apr 2, 2018 · 1 comment
Open

Decode base64 bug #70

hardway777 opened this issue Apr 2, 2018 · 1 comment

Comments

@hardway777
Copy link

hardway777 commented Apr 2, 2018

String
=?utf-8?B?0JTQuNGB0LvQvtC60LDRhtC40Y8g0YHQu9C10LTRg9GO0YnQ?= =?utf-8?B?uNGFINCyINCw0LTRgNC10YEg0JLQodCaINC60L7QvdGC0LXQudC90LXR?= =?utf-8?B?gNC+0LIu?=

must be decoded as

=?utf-8?B?0JTQuNGB0LvQvtC60LDRhtC40Y8g0YHQu9C10LTRg9GO0YnQuNGFINCyINCw0LTRgNC10YEg0JLQodCaINC60L7QvdGC0LXQudC90LXRgNC+0LIu

Not separated.
EncodedWord.cs (48)

@jstedfast
Copy link

Technically, the way that OpenPOP handles decoding this series of encoded-word tokens is correct according to the spec, but unfortunately many mail clients incorrectly break apart long encoded-words such that they need to be decoded after their payloads are combined.

For anyone suffering from this problem, I highly recommend my own libraries: MimeKit and MailKit.

Hope that helps.

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