From fc0029eed7c9bd3f6d6243296cc842e82c2f9698 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 17 Oct 2023 20:01:20 +0200 Subject: [PATCH] fix(webhooks): don't send the proxy auth header to the webhook target --- pkg/models/webhooks.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/models/webhooks.go b/pkg/models/webhooks.go index afedc7ed588..a5b9eae3801 100644 --- a/pkg/models/webhooks.go +++ b/pkg/models/webhooks.go @@ -191,10 +191,6 @@ func (w *Webhook) sendWebhookPayload(p *WebhookPayload) (err error) { req.Header.Add("User-Agent", "Vikunja/"+version.Version) - if config.WebhooksProxyURL.GetString() != "" && config.WebhooksProxyPassword.GetString() != "" { - req.Header.Add("Proxy-Authorization", base64.StdEncoding.EncodeToString([]byte(config.WebhooksProxyPassword.GetString()))) - } - client := getWebhookHTTPClient() _, err = client.Do(req) if err == nil {