Skip to content

Commit

Permalink
Disable following redirects for webhooks (#507)
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Qureshi <[email protected]>

Signed-off-by: Mohammad Qureshi <[email protected]>
  • Loading branch information
qreshi authored Aug 18, 2022
1 parent 82a926e commit 3e72775
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class DestinationHttpClient {
.setConnectionManager(connectionManager)
.setRetryHandler(DefaultHttpRequestRetryHandler())
.useSystemProperties()
.disableRedirectHandling()
.build()
}
}
Expand Down

0 comments on commit 3e72775

Please sign in to comment.