[evolution-patches] fix for bug #301037



http://bugzilla.gnome.org/show_bug.cgi?id=301037

simple fix, could probably go into 2.2.x too if we want.

-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj ximian com  - www.novell.com
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/ChangeLog,v
retrieving revision 1.2444
diff -u -p -r1.2444 ChangeLog
--- ChangeLog	14 Apr 2005 20:10:20 -0000	1.2444
+++ ChangeLog	18 Apr 2005 16:24:05 -0000
@@ -1,3 +1,9 @@
+2005-04-18  Jeffrey Stedfast  <fejj novell com>
+
+	* camel-url-scanner.c (camel_url_web_end): Handle the case where
+	the path doesn't exist in the url. See bug #301037 for more
+	details.
+
 2005-04-07  Jeffrey Stedfast  <fejj novell com>
 
 	Fix for bug #273945
Index: camel-url-scanner.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-url-scanner.c,v
retrieving revision 1.15
diff -u -p -r1.15 camel-url-scanner.c
--- camel-url-scanner.c	2 Dec 2004 08:03:30 -0000	1.15
+++ camel-url-scanner.c	18 Apr 2005 16:24:05 -0000
@@ -427,7 +427,7 @@ camel_url_web_end (const char *in, const
 			/* we have a '/' so there could be a path - fall through */
 		case '/': /* we've detected a path component to our url */
 			inptr++;
-			
+		case '?':
 			while (inptr < inend && is_urlsafe (*inptr) && *inptr != close_brace)
 				inptr++;
 			

Attachment: smime.p7s
Description: S/MIME cryptographic signature



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