evolution-data-server r9968 - trunk/camel



Author: abharath
Date: Tue Jan 27 04:55:05 2009
New Revision: 9968
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9968&view=rev

Log:
2009-01-27  Simon Brys  <sbrys novell com>

        ** Fix for bug #467075 (BNC)

        * camel-url-scanner.c (camel_url_web_end): Exclude the closing bracket
        while searching for links.

        Bug Report:

        Incorrect url is displayed in Evolution plain text mails when the url is
        surrounded by brackets

        Steps to duplicate:
        - In Evolution, send yourself a plain text mail with something like this 
        as the mail contents:

        Please read the doc (see http://a.b.c/d)
        
        - When displaying the mail, Evolution detects the url, but it includes 
        the closing bracket. So clicking the url does not open the correct link.


Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-url-scanner.c

Modified: trunk/camel/camel-url-scanner.c
==============================================================================
--- trunk/camel/camel-url-scanner.c	(original)
+++ trunk/camel/camel-url-scanner.c	Tue Jan 27 04:55:05 2009
@@ -460,7 +460,7 @@
 	 * punctuation, so strip any trailing
 	 * punctuation off. Also strip off any closing
 	 * double-quotes. */
-	while (inptr > pos && strchr (",.:;?!-|}]\"", inptr[-1]))
+	while (inptr > pos && strchr (",.:;?!-|}])\"", inptr[-1]))
 		inptr--;
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]