Skip to content
Snippets Groups Projects
Commit 1d0a0d5d authored by nkour's avatar nkour
Browse files

catch gopher://

parent ce4957c3
No related branches found
No related tags found
No related merge requests found
......@@ -1069,8 +1069,8 @@ def make_regexps(self):
# \S*[^\s\W] --> in the matching string don't match ? or ) etc.. if at the end
# so http://be) will match http://be and http://be)be) will match http://be)be
prefixes = (r'http://', r'https://', r'news://', r'ftp://', r'ed2k://',
r'magnet:', r'www\.', r'ftp\.')
prefixes = (r'http://', r'https://', r'gopher://', r'news://', r'ftp://',
r'ed2k://', r'magnet:', r'www\.', r'ftp\.')
# NOTE: it's ok to catch www.gr such stuff exist!
#FIXME: recognize xmpp: and treat it specially
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment