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

Ignoring X-Transport header while signing email with DKIM #42659

Merged
merged 1 commit into from Aug 20, 2021

Conversation

metaer
Copy link
Contributor

@metaer metaer commented Aug 20, 2021

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Related PR symfony/symfony-docs#15603
License MIT

Earlier @fabpot wrote in symfony/symfony-docs#15603 (comment):

Anyway, this should be fixed in the code, not in the docs.

Original problem

If we have multiple transports and use one of them, signature will contain X-Transport header by default. But email will not:

$headers->remove('X-Transport');

And signature will be invalid.

@carsonbot carsonbot added this to the 5.3 milestone Aug 20, 2021
@metaer metaer changed the title Ignoring X-Transport header while signing email with DKIM [Mime] Ignoring X-Transport header while signing email with DKIM Aug 20, 2021
@carsonbot carsonbot changed the title [Mime] Ignoring X-Transport header while signing email with DKIM Ignoring X-Transport header while signing email with DKIM Aug 20, 2021
@fabpot
Copy link
Member

fabpot commented Aug 20, 2021

Thank you @metaer.

@fabpot fabpot merged commit 75ace35 into symfony:5.3 Aug 20, 2021
@metaer metaer deleted the 5.3-ignore-x-transport branch August 20, 2021 12:22
@fabpot fabpot mentioned this pull request Aug 30, 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.

None yet

3 participants