From 9f465127592f2f3c893988daceaf608671da9df1 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Sun, 2 Sep 2018 00:30:10 -0700 Subject: MM-11693 Allow connections to /plugins for interactive message buttons. (#9333) * Allow connetions to /plugins for interactive message buttons. * Adding siteurl to exclusions for AllowedUntrustedInternalConnections * Adding subpath support for allowing interactive message buttons plugin connections. --- utils/httpclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/httpclient.go b/utils/httpclient.go index a21be7aa8..cb68462e3 100644 --- a/utils/httpclient.go +++ b/utils/httpclient.go @@ -52,7 +52,7 @@ func init() { type DialContextFunction func(ctx context.Context, network, addr string) (net.Conn, error) -var AddressForbidden error = errors.New("address forbidden") +var AddressForbidden error = errors.New("address forbidden, you may need to set AllowedUntrustedInternalConnections to allow an integration access to your internal network") func dialContextFilter(dial DialContextFunction, allowHost func(host string) bool, allowIP func(ip net.IP) bool) DialContextFunction { return func(ctx context.Context, network, addr string) (net.Conn, error) { -- cgit v1.2.3-1-g7c22