Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Mailer] Make sure you can pass custom headers to Mailgun#35162

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

Merged
nicolas-grekas merged 1 commit intosymfony:4.4fromNyholm:mailgun-custom-header
Jan 4, 2020

Conversation

@Nyholm
Copy link
Member

@NyholmNyholm commentedJan 1, 2020
edited
Loading

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Ticketsfix#35095
LicenseMIT
Doc PR

I can only assume that there was a mistake to use$header->toString() since it makes no sense to include the header name here. That is why this is a bugfix and not a new feature.

Without this fix my test will fail:

Failed asserting that two strings are equal.--- Expected+++ Actual@@ @@-'{"foo":"bar"}'+'X-Mailgun-Variables: {"foo":"bar"}'

There are a few similar places for other mailer bridges that looks like they have similar issues. I dont know those providers very well. I can spend time researching them and confirm if there are bugs there too. But first I want to make sure a fix like this is accepted.

azjezz reacted with thumbs up emoji
@fabpot
Copy link
Member

@Nyholm The fix seems indeed correct to me. The other providers are affected as well (see#35095 for instance on the same topic). If you can fix it for all providers in this PR, that would be great! Thank you.

@Nyholm
Copy link
MemberAuthor

Sure, I will.

Thank you for a quick reply

@nicolas-grekasnicolas-grekas added this to the4.4 milestoneJan 4, 2020
@NyholmNyholmforce-pushed themailgun-custom-header branch from54eafb2 todcbb6c5CompareJanuary 4, 2020 11:54
@Nyholm
Copy link
MemberAuthor

I fixed other providers and rebased the PRs.

@fbourigault Could you review please?

@nicolas-grekas
Copy link
Member

Thank you@Nyholm.

nicolas-grekas added a commit that referenced this pull requestJan 4, 2020
…(Nyholm)This PR was squashed before being merged into the 4.4 branch.Discussion----------[Mailer] Make sure you can pass custom headers to Mailgun| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       |fix#35095| License       | MIT| Doc PR        |I can only assume that there was a mistake to use `$header->toString()` since it makes no sense to include the header name here. That is why this is a bugfix and not a new feature.Without this fix my test will fail:```Failed asserting that two strings are equal.--- Expected+++ Actual@@ @@-'{"foo":"bar"}'+'X-Mailgun-Variables: {"foo":"bar"}'```There are a few similar places for other mailer bridges that looks like they have similar issues. I dont know those providers very well. I can spend time researching them and confirm if there are bugs there too. But first I want to make sure a fix like this is accepted.Commits-------43c1e77 [Mailer] Make sure you can pass custom headers to Mailgun
@nicolas-grekasnicolas-grekas merged commit43c1e77 intosymfony:4.4Jan 4, 2020
@Nyholm
Copy link
MemberAuthor

Thank you for merging

@NyholmNyholm deleted the mailgun-custom-header branchJanuary 4, 2020 13:22
This was referencedJan 21, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@Nyholm@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp