Skip to content

Commit 39ff860

Browse files
committed
bug #61223 [Mailer][Brevo] Update Webhook IPs (jarbey)
This PR was merged into the 6.4 branch. Discussion ---------- [Mailer][Brevo] Update Webhook IPs | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes (not really, but should be in the next patch to me) | New feature? | no | Deprecations? | no | Issues | Fix #... | License | MIT 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 ♥ Commits ------- ffc725d Update BrevoRequestParser.php
2 parents df58224 + ffc725d commit 39ff860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Mailer/Bridge/Brevo/Webhook/BrevoRequestParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ protected function getRequestMatcher(): RequestMatcherInterface
3535
return new ChainRequestMatcher([
3636
new MethodRequestMatcher('POST'),
3737
new IsJsonRequestMatcher(),
38-
// https://developers.brevo.com/docs/how-to-use-webhooks#securing-your-webhooks
38+
// https://help.brevo.com/hc/en-us/articles/15127404548498-Brevo-IP-ranges-List-of-publicly-exposed-services
3939
// localhost is added for testing
40-
new IpsRequestMatcher(['185.107.232.1/24', '1.179.112.1/20', '172.246.240.1/20', '127.0.0.1']),
40+
new IpsRequestMatcher(['1.179.112.0/20', '172.246.240.0/20', '127.0.0.1']),
4141
]);
4242
}
4343

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy