Skip to content

Commit

Permalink
Disable following redirects for webhooks (#507) (#509)
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>

Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
(cherry picked from commit 3e72775)

Co-authored-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com>
  • Loading branch information
opensearch-trigger-bot[bot] and qreshi committed Aug 22, 2022
1 parent cb86ddf commit 3b3c1b5
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 3b3c1b5

Please sign in to comment.