diff options
author | Diogo Sousa <diogogsousa@gmail.com> | 2013-06-16 19:11:26 +0100 |
---|---|---|
committer | Diogo Sousa <diogogsousa@gmail.com> | 2013-06-16 19:11:26 +0100 |
commit | 2870586cf9c241877dc49890f26a8496d13d25e4 (patch) | |
tree | 679ad716753d6be3ae162b2bfa186d314e06f720 /src | |
parent | cb1975f45097020ebd572439266c3e1123d188fa (diff) |
Fixed irc:// and ircs:// url matching: irc://freenode was not working because
"freenode" doesn't match a hostname.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 }, |