Skip to content

EspoCRM – Open Source CRM Application

Fix webook not working over http (non-secure)

Yurii18d7083ec9fc
diff --git a/application/Espo/Core/HttpClient/Client.php b/application/Espo/Core/HttpClient/Client.php
index 13f3253e67..77ba1f78e3 100644
--- a/application/Espo/Core/HttpClient/Client.php
+++ b/application/Espo/Core/HttpClient/Client.php
@@ -107,7 +107,7 @@ class Client
$options = [
'protocols' => array_map(
fn (Protocol $protocol) => $protocol->value,
- $this->options->redirect->protocols
+ $this->options->protocols
),
'allow_redirects' => false,
'http_errors' => false,