diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-09-02 00:30:10 -0700 |
---|---|---|
committer | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2018-09-02 09:30:10 +0200 |
commit | 9f465127592f2f3c893988daceaf608671da9df1 (patch) | |
tree | 4015cafdc869d62f6a1f028ad553c8c1d2a1df6f /utils/httpclient.go | |
parent | 68fdaaa995555e93f067efc3a07f1866e43ae665 (diff) | |
download | chat-9f465127592f2f3c893988daceaf608671da9df1.tar.gz chat-9f465127592f2f3c893988daceaf608671da9df1.tar.bz2 chat-9f465127592f2f3c893988daceaf608671da9df1.zip |
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.
Diffstat (limited to 'utils/httpclient.go')
-rw-r--r-- | utils/httpclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |