Skip to content

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
@metaer metaer force-pushed the 5.3-ignore-x-transport branch from e9dc858 to b684d40 Compare August 20, 2021 11:40
@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.

3 participants