diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2018-10-24 15:16:32 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2018-10-24 15:16:32 +0200 |
commit | 432ca80db6f18f312200c728988fc0ed2478f2b3 (patch) | |
tree | c8487c8435ede22b1d73ae4b97eef74366e53aba | |
parent | Use newer fast_tls that fixes some issues with tls1.3 (diff) |
Do no add 127.0.0.1 address to trusted_proxies list by default
-rw-r--r-- | src/ejabberd_http.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_http.erl b/src/ejabberd_http.erl index 5aa517fe5..65a0c2f5d 100644 --- a/src/ejabberd_http.erl +++ b/src/ejabberd_http.erl @@ -573,7 +573,7 @@ is_ipchain_trusted(UserIPs, Masks) -> lists:any( fun({Mask, MaskLen}) -> acl:ip_matches_mask(IP2, Mask, MaskLen) - end, [{{127,0,0,1}, 8} | Masks]); + end, Masks); _ -> false end |