mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
@@ -410,6 +410,11 @@
|
|||||||
"<p>%s</p>",
|
"<p>%s</p>",
|
||||||
"t.co"
|
"t.co"
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
"readme.md",
|
||||||
|
"<p>readme.md</p>",
|
||||||
|
"readme.md"
|
||||||
|
],
|
||||||
[
|
[
|
||||||
"go to views.org please",
|
"go to views.org please",
|
||||||
"<p>go to %s please</p>",
|
"<p>go to %s please</p>",
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ def unescape(s):
|
|||||||
|
|
||||||
def list_of_tlds():
|
def list_of_tlds():
|
||||||
# type: () -> List[Text]
|
# type: () -> List[Text]
|
||||||
# HACK we manually blacklist .py
|
# HACK we manually blacklist a few domains
|
||||||
blacklist = [u'PY\n', ]
|
blacklist = [u'PY\n', u"MD\n"]
|
||||||
|
|
||||||
# tlds-alpha-by-domain.txt comes from http://data.iana.org/TLD/tlds-alpha-by-domain.txt
|
# tlds-alpha-by-domain.txt comes from http://data.iana.org/TLD/tlds-alpha-by-domain.txt
|
||||||
tlds_file = os.path.join(os.path.dirname(__file__), 'tlds-alpha-by-domain.txt')
|
tlds_file = os.path.join(os.path.dirname(__file__), 'tlds-alpha-by-domain.txt')
|
||||||
|
|||||||
Reference in New Issue
Block a user