mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 03:00:19 +00:00
overhauling of URL detection, including channel, nick, etc 'words'
This commit is contained in:
@@ -1058,7 +1058,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);
|
||||
|
||||
Reference in New Issue
Block a user