-
-
Couldn't load subscription status.
- Fork 1.5k
check mail encoding and format if charset is not specified #21575
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
Open
f2cmb
wants to merge
8
commits into
glpi-project:11.0/bugfixes
Choose a base branch
from
f2cmb:11.0/21540
base: 11.0/bugfixes
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
519d617
check mail encoding and format if charset is not specified
f2cmb 5fcabf3
add missing charset .eml file in tests
f2cmb b5bcee7
add test
f2cmb 482a055
modify call for Mbox in test
f2cmb b7c2420
remove redundant / always true cond
f2cmb 46f0e4f
readd ancient behavior for non-specified charset
f2cmb 18fe2bc
simplify eml test file, refine test for more accuracy with fix
f2cmb 94bfcd7
adjust test and eml file
f2cmb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| From: [email protected] | ||
| To: [email protected] | ||
| Subject: System Report | ||
| MIME-Version: 1.0 | ||
| Content-Type: text/plain | ||
| Content-Transfer-Encoding: quoted-printable | ||
| Date: Mon, 21 Oct 2025 10:00:00 +0000 | ||
| Message-ID: <[email protected]> | ||
|
|
||
| ATTENTION: Ne cliquez pas sur les liens ou n'ouvrez pas les pi=E8ces jointe= | ||
| s si vous n'=EAtes pas s=FBr du contenu. | ||
|
|
||
| This is a test message with: | ||
| - Accented characters: =E8 =EA =FB (è ê û in ISO-8859-1) | ||
| - Quote printable encoding | ||
| - NO charset parameter in Content-Type header | ||
|
|
||
| The bug is that when charset is missing, these bytes are not converted to UTF-8. | ||
|
|
||
| Details: | ||
| =E8 (è), =E9 (é), =EA (ê), =EB (ë) | ||
| =E0 (à), =E2 (â), =E4 (ä) | ||
| =F9 (ù), =FB (û), =FC (ü) | ||
|
|
||
| This should be handled correctly by mb_detect_encoding() fallback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.