evolution-data-server r8576 - trunk/camel



Author: gicmo
Date: Mon Mar 17 11:35:46 2008
New Revision: 8576
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8576&view=rev

Log:
2008-03-17  Christian Kellner  <gicmo gnome org>

	** Fix for bug #341004

	* camel-url.c: (camel_url_to_string): Hide the auth mech when
	CAMEL_URL_HIDE_AUTH is specified.


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

Modified: trunk/camel/camel-url.c
==============================================================================
--- trunk/camel/camel-url.c	(original)
+++ trunk/camel/camel-url.c	Mon Mar 17 11:35:46 2008
@@ -352,7 +352,7 @@
 		g_string_append (str, "//");
 		if (url->user) {
 			append_url_encoded (str, url->user, ":;@/");
-			if (url->authmech && *url->authmech) {
+			if (url->authmech && *url->authmech && !(flags & CAMEL_URL_HIDE_AUTH)) {
 				g_string_append (str, ";auth=");
 				append_url_encoded (str, url->authmech, ":@/");
 			}



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