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

Folded subject header using ISO-2022-JP doesn't get decoded properly in Safari #1

Open
larabr opened this issue Sep 29, 2022 · 0 comments
Labels
wontfix This will not be worked on

Comments

@larabr
Copy link
Collaborator

larabr commented Sep 29, 2022

The test case related to Thunderbird's Bug 1374149 fails in WebKit/Safari.

Since this is an edge case, and it seems to be a WebKit issue (as Chrome and Firefox process the string correctly), we won't attempt to patch this for now, unless we receive reports of users impacted by the problem.

Affected test case:

// Test for bug 1374149 with ISO-2022-JP where we shouldn't stream
// if the first token ends in ESC(B.
// GyRCJCIbKEI= is the base64 encoding of ESC$B$"ESC(B.
[
"=?ISO-2022-JP?B?GyRCJCIbKEI=?==?ISO-2022-JP?B?GyRCJCIbKEI=?=",
isWebKit() ? "あ\ufffdあ" : "ああ" // see https://github.com/ProtonMail/jsmimeparser/issues/1
],

@larabr larabr added the wontfix This will not be worked on label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant