# HG changeset patch # User Sulabh Mahajan # Date 1249112723 0 # Node ID ed11d1cabbe4b024308a6f2ddc1b56ae7bc5fb2d # Parent c8af11ba1ee8963ed5333d8eee18f75f7ddca4c7 Fixes #9661 diff -r c8af11ba1ee8 -r ed11d1cabbe4 libpurple/protocols/yahoo/util.c --- a/libpurple/protocols/yahoo/util.c Sat Aug 01 02:59:31 2009 +0000 +++ b/libpurple/protocols/yahoo/util.c Sat Aug 01 07:45:23 2009 +0000 @@ -757,6 +757,8 @@ } else if (!g_ascii_strncasecmp(&src[i+1], "A HREF=\"", j - i - 1)) { j += 7; g_string_append(dest, "\033[lm"); + if (purple_str_has_prefix(src + j, "mailto:")) + j += sizeof("mailto:") - 1; while (1) { g_string_append_c(dest, src[j]); if (++j >= src_len) {