Fixed irc:// and ircs:// url matching: irc://freenode was not working because

"freenode" doesn't match a hostname.
This commit is contained in:
Diogo Sousa 2013-06-16 19:11:26 +01:00
parent cb1975f450
commit 2870586cf9
1 changed files with 2 additions and 2 deletions

View File

@ -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 },