logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 18d38486a568f8cda8ab0f6227959810b253e75a
parent 5c5d9d9b9d8dfe55d930bbc4194a901b64c76f94
Author: Mark Felder <feld@feld.me>
Date:   Fri, 26 Jan 2024 15:57:50 -0500

InetCidr.parse/2 is deprecated

Diffstat:

Mlib/pleroma/web/plugs/remote_ip.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/plugs/remote_ip.ex b/lib/pleroma/web/plugs/remote_ip.ex @@ -43,6 +43,6 @@ defmodule Pleroma.Web.Plugs.RemoteIp do InetCidr.v6?(InetCidr.parse_address!(proxy)) -> proxy <> "/128" end - InetCidr.parse(proxy, true) + InetCidr.parse_cidr!(proxy, true) end end