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][Brevo] Update Webhook IPs#61223

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
xabbuh merged 1 commit intosymfony:6.4fromjarbey:patch-1
Jul 24, 2025
Merged

Conversation

@jarbey
Copy link
Contributor

QA
Branch?6.4
Bug fix?yes (not really, but should be in the next patch to me)
New feature?no
Deprecations?no
IssuesFix #...
LicenseMIT

Regarding official Brevo documentation the IP range for webhook changed
Source :https://help.brevo.com/hc/en-us/articles/15127404548498-Brevo-IP-ranges-List-of-publicly-exposed-services

Should also be applied on 7.3 version

Thank you so much for your hard work Symfony team ♥

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has acontribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (seehttps://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (seehttps://symfony.com/releases)
  • Features and deprecations must be submitted against the 7.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

Copy link
Member

@xabbuhxabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

looks good to me (see also#61062 (comment))

jarbey reacted with thumbs up emoji
@carsonbotcarsonbot changed the titleUpdate BrevoRequestParser.php[Mailer] Update BrevoRequestParser.phpJul 24, 2025
@OskarStarkOskarStark changed the title[Mailer] Update BrevoRequestParser.php[Mailer][Brevo] Update Webhook IPsJul 24, 2025
@xabbuh
Copy link
Member

Thank you@jarbey.

jarbey reacted with thumbs up emoji

@xabbuhxabbuh merged commit39ff860 intosymfony:6.4Jul 24, 2025
11 checks passed
// https://help.brevo.com/hc/en-us/articles/15127404548498-Brevo-IP-ranges-List-of-publicly-exposed-services
// localhost is added for testing
newIpsRequestMatcher(['185.107.232.1/24','1.179.112.1/20','172.246.240.1/20','127.0.0.1']),
newIpsRequestMatcher(['1.179.112.0/20','172.246.240.0/20','127.0.0.1']),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is xx.xx.xx.0/20 not the same as xx.xx.xx.1/20 in this context?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It is, but it's uncommon to use something else than.0 when using CIDR.

richardhj reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Probably the same but i was not sure. It also removes an old CIDR not used anymore by Brevo => 185.107.232.1/24 to comply with their last update (22 June 2024 if we trust :https://web.archive.org/web/20250622174648/https://help.brevo.com/hc/en-us/articles/15127404548498-Brevo-IP-ranges-List-of-publicly-exposed-services)

Brevo documentation :https://help.brevo.com/hc/en-us/articles/15127404548498-Brevo-IP-ranges-List-of-publicly-exposed-services

Their AS and RIPE Bloc (probably not up to date as it's mention 1.179.120.0/21 :https://ipinfo.io/AS200484#block-ranges)

This was referencedJul 31, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alexandre-dauboisalexandre-dauboisalexandre-daubois approved these changes

@stofstofstof approved these changes

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@richardhjrichardhjrichardhj left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

7 participants

@jarbey@carsonbot@xabbuh@stof@richardhj@alexandre-daubois@OskarStark

[8]ページ先頭

©2009-2025 Movatter.jp