evolution-data-server r9002 - trunk/camel



Author: mcrha
Date: Wed Jun 18 16:08:57 2008
New Revision: 9002
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9002&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:
   trunk/camel/ChangeLog
   trunk/camel/camel-http-stream.c

Modified: trunk/camel/camel-http-stream.c
==============================================================================
--- trunk/camel/camel-http-stream.c	(original)
+++ trunk/camel/camel-http-stream.c	Wed Jun 18 16:08:57 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]