# HG changeset patch # User Christian Hammond # Date 1087767615 0 # Node ID 851b8c6720117ed946ec1c7918d537035fed89cc # Parent b4dc3827470ad8a90b891d1733e02936aa5a82e1 [gaim-migrate @ 10139] Patch by Nelson Elhage to strip the mailto: from URLs, so the person on the other side of the conversation will see foo@bar.com instead of mailto:foo@bar.com. committer: Tailor Script diff -r b4dc3827470a -r 851b8c672011 COPYRIGHT --- a/COPYRIGHT Sun Jun 20 21:36:53 2004 +0000 +++ b/COPYRIGHT Sun Jun 20 21:40:15 2004 +0000 @@ -40,6 +40,7 @@ Marc E. Andrew Echols Sean Egan +Nelson Elhage Ignacio J. Elia Brian Enigma Stefan Esser diff -r b4dc3827470a -r 851b8c672011 src/protocols/msn/utils.c --- a/src/protocols/msn/utils.c Sun Jun 20 21:36:53 2004 +0000 +++ b/src/protocols/msn/utils.c Sun Jun 20 21:40:15 2004 +0000 @@ -211,6 +211,9 @@ else if (!g_ascii_strncasecmp(c + 1, "a href=\"", 8)) { c += 9; + + if (!g_ascii_strncasecmp(c, "mailto:", 7)) + c += 7; while (g_ascii_strncasecmp(c, "\">", 2)) msg[retcount++] = *c++;