evolution-data-server r9003 - branches/gnome-2-22/camel



Author: mcrha
Date: Wed Jun 18 16:09:18 2008
New Revision: 9003
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9003&view=rev

Log:
2008-06-18  Milan Crha  <mcrha redhat com>

	** Fix for bug #340838

	* camel-http-stream.c: (http_method_invoke):
	Use the whole URL even when not the proxy set, because the URL can
	contain parameters, which are not part of the path.



Modified:
   branches/gnome-2-22/camel/ChangeLog
   branches/gnome-2-22/camel/camel-http-stream.c

Modified: branches/gnome-2-22/camel/camel-http-stream.c
==============================================================================
--- branches/gnome-2-22/camel/camel-http-stream.c	(original)
+++ branches/gnome-2-22/camel/camel-http-stream.c	Wed Jun 18 16:09:18 2008
@@ -372,7 +372,7 @@
 		 http->url->host));
 	if (camel_stream_printf (http->raw, "%s %s HTTP/1.0\r\nUser-Agent: %s\r\nHost: %s\r\n",
 				 method,
-				 http->proxy ? url : http->url->path,
+				 url,
 				 http->user_agent ? http->user_agent : "CamelHttpStream/1.0",
 				 http->url->host) == -1) {
 		http_disconnect(http);



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