Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Make Mailgun Header compatible with other Bridges#41380
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Nyholm commentedMay 22, 2021
I think you misunderstand. In 5.0, all headers was prefixed with |
jderusse commentedMay 22, 2021
I think the issue is, that make the bridge incompatible with all other bridges because headers have to be formatted in a What's if I implement a |
Nyholm left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| if (\in_array($prefix, ['h:','t:','o:','v:']) ||\in_array($name, ['recipient-variables','template','amp-html'])) { | ||
| $headerName =$name; | ||
| }else { | ||
| // fallback to prefix with "h:" to not break BC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This comment should be fixed
jderusse commentedMay 22, 2021
I was convinced by the exact same sentence in their doc 😉 |
Nyholm left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you.
Are you sure this should be to 5.2 and not 5.3?
stof commentedMay 22, 2021
@Nyholm to me, that's a bugfix. The current deprecation is buggy |
nicolas-grekas commentedMay 23, 2021
Thank you@jderusse. |
This PR was merged into the 5.3 branch.Discussion----------[Mailer] Remove deprecation dependency| Q | A| ------------- | ---| Branch? | 5.3| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | -| License | MIT| Doc PR | -Introduced here (5.3)#40643But removed was not needed because reverted here (5.2)#41380Commits-------dc5c28d Remove deprecation dependency
This PR was merged into the 6.4 branch.Discussion----------[Mailer] remove useless `@legacy` annotation| Q | A| ------------- | ---| Branch? | 6.4| Bug fix? | no| New feature? | no| Deprecations? | no| Issues || License | MITthis was added in#36148 and the deprecation was later on reverted in#41380Commits-------4b6be4a remove useless `@legacy` annotation
This revert deprecating passing a header without the required Mailgun
h:prefix.And makes the bridge compatible with other bridges.
See: