This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
cloud
/
auto_linker
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
hopefully fix `is_valid_tld?/2`
merge-requests/1/head
Egor Kislitsyn
5 years ago
parent
fbfa3d0da2
commit
48f87d44cf
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
lib/auto_linker/parser.ex
+ 2
- 1
lib/auto_linker/parser.ex
View File
@ -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
Write
Preview
Loading…
Cancel
Save