catch gopher://
This commit is contained in:
parent
ce4957c300
commit
1d0a0d5dee
|
@ -1069,8 +1069,8 @@ class Interface:
|
|||
# \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
|
||||
|
|
Loading…
Reference in New Issue