add 'blog' tld (#108)

https://scottaaronson.blog/ is a thing, for example. We must support the thing.

Add .blog as an approved TLD.

Co-authored-by: official-techsupport <official_techsupport@protonmail.com>
Reviewed-on: #108
Co-authored-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
Co-committed-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
pull/110/head
official-techsupport 2023-02-01 23:20:08 +00:00 committed by Aevann
parent 2946006c9a
commit 08571dece1
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ TLDS = ( # Original gTLDs and ccTLDs
'vu','wf','ws','xn','xxx','ye','yt','yu','za','zm','zw',
# New gTLDs
'app','cleaning','club','dev','farm','florist','fun','gay','lgbt','life','lol',
'moe','mom','monster','new','news','online','pics','press','pub','site',
'moe','mom','monster','new','news','online','pics','press','pub','site','blog',
'vip','win','world','wtf','xyz','video','host','art','media','wiki','tech','cooking'
)
@ -437,7 +437,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys
return error, 403
else:
abort(403, error)
banned_domains = g.db.query(BannedDomain).all()
for x in banned_domains:
for y in domain_list: