logo

auto_linker

AutoLinker-shim, based on https://git.pleroma.social/pleroma/auto_linker
commit: 48f87d44cf588bf177feb0445b05ebcaaab22aac
parent: fbfa3d0da23a39d968680f79845b206edfe692c9
Author: Egor Kislitsyn <egor@kislitsyn.com>
Date:   Tue,  5 Feb 2019 21:01:45 +0700

hopefully fix `is_valid_tld?/2`

Diffstat:

Mlib/auto_linker/parser.ex3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/auto_linker/parser.ex b/lib/auto_linker/parser.ex @@ -208,7 +208,8 @@ defmodule AutoLinker.Parser do true else tld = host |> String.split(".") |> List.last() - tld in @tlds + + Enum.member?(@tlds, tld) end end