aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2018-10-24 15:16:32 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2018-10-24 15:16:32 +0200
commit432ca80db6f18f312200c728988fc0ed2478f2b3 (patch)
treec8487c8435ede22b1d73ae4b97eef74366e53aba
parentUse 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.erl2
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