From 1d0a0d5dee6f78b25ca3d536e270854eb2d81b54 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 9 Dec 2005 21:09:42 +0000 Subject: [PATCH] catch gopher:// --- src/gajim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 06dc662ab..7da7180b2 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -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