Commit 757fcbb
committed
bug symfony#59796 [Mime] use address for body at
This PR was merged into the 6.4 branch.
Discussion
----------
[Mime] use address for body at `PathHeader`
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License | MIT
We noticed, that ReturnPath has wrong content in EML if any library is forcing key=>value.
Setting it to `[email protected]`, results into `<"[email protected]" <[email protected]>>` after stringify it which is not compliant: `Email \"\"[email protected]"<[email protected]\" does not comply with addr-spec of RFC 2822.`
Commits
-------
0d4a498 [MIME] use address for body at PathHeaderPathHeader (tinect)File tree
2 files changed
+9
-1
lines changed- src/Symfony/Component/Mime
- Header
- Tests/Header
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
349 | 357 | | |
0 commit comments