Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Mailer][Mime] Update inline part names with newly generated ContentId #39980

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

Merged
merged 1 commit into from
Feb 5, 2021

Conversation

ddegentesh
Copy link
Contributor

Inline parts are identified by matching attachment names to cids found in the html part. In line 487 cids are regenerated and replaced in the html part, but the attachment names were not similarly replaced.

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
License MIT

@carsonbot
Copy link

Hey!

This is.. this is amazing. Thank you!

To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done?

Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review.

Cheers!

Carsonbot

src/Symfony/Component/Mime/Email.php Outdated Show resolved Hide resolved
@ddegentesh ddegentesh changed the title Update inline part names with newly generated ContentId [Mailer][Mime] Update inline part names with newly generated ContentId Jan 26, 2021
@OskarStark
Copy link
Contributor

Could you please add a testcase?

@fabpot
Copy link
Member

fabpot commented Feb 5, 2021

Thank you @ddegentesh.

@fabpot fabpot merged commit 2d26530 into symfony:4.4 Feb 5, 2021
This was referenced Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.