libsoup r1211 - in branches/gnome-2-24: . libsoup



Author: danw
Date: Tue Nov 25 14:07:07 2008
New Revision: 1211
URL: http://svn.gnome.org/viewvc/libsoup?rev=1211&view=rev

Log:
	* libsoup/soup-uri.c (soup_uri_copy_root): set a path, since the
	docs say SoupURI always has a path, and the URIs returned from
	here get used as the URIs for proxy CONNECT requests, which might
	get examined by various session features. Fixes a crash in the
	cookie code. #562191, Mark Lee.


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/libsoup/soup-uri.c

Modified: branches/gnome-2-24/libsoup/soup-uri.c
==============================================================================
--- branches/gnome-2-24/libsoup/soup-uri.c	(original)
+++ branches/gnome-2-24/libsoup/soup-uri.c	Tue Nov 25 14:07:07 2008
@@ -505,6 +505,7 @@
 	dup->scheme = uri->scheme;
 	dup->host   = g_strdup (uri->host);
 	dup->port   = uri->port;
+	dup->path   = g_strdup ("/");
 
 	return dup;
 }



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