Merge pull request #359 from RichardHitt/master

Overhaul of URL detection, includes nick, channel, etc
This commit is contained in:
TingPing
2013-01-08 13:09:33 -08:00
10 changed files with 412 additions and 277 deletions

View File

@@ -1059,7 +1059,7 @@ static void
fe_open_url_locale (const char *url)
{
/* the http:// part's missing, prepend it, otherwise it won't always work */
if (strchr (url, ':') == NULL && url_check_word (url, strlen (url)) != WORD_PATH)
if (strchr (url, ':') == NULL && url_check_word (url) != WORD_PATH)
{
url = g_strdup_printf ("http://%s", url);
fe_open_url_inner (url);