From 2870586cf9c241877dc49890f26a8496d13d25e4 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Sun, 16 Jun 2013 19:11:26 +0100 Subject: Fixed irc:// and ircs:// url matching: irc://freenode was not working because "freenode" doesn't match a hostname. --- src/common/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/url.c b/src/common/url.c index 2fda8f6b..ef6e3fdb 100644 --- a/src/common/url.c +++ b/src/common/url.c @@ -420,8 +420,8 @@ struct const char *path_sep; /* string that begins the path */ int flags; /* see above (flag macros) */ } uri[] = { - { "irc", "/", URI_AUTHORITY | URI_PATH }, - { "ircs", "/", URI_AUTHORITY | URI_PATH }, + { "irc", "/", URI_PATH }, + { "ircs", "/", URI_PATH }, { "rtsp", "/", URI_AUTHORITY | URI_PATH }, { "feed", "/", URI_AUTHORITY | URI_PATH }, { "teamspeak", "?", URI_AUTHORITY | URI_PATH }, -- cgit 1.4.1