evolution-data-server r8392 - trunk/camel



Author: mbarnes
Date: Fri Jan 18 02:22:40 2008
New Revision: 8392
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8392&view=rev

Log:
2008-01-17  Matthew Barnes  <mbarnes redhat com>

	* camel/camel-session.c (camel_session_build_password_prompt):
	Forgot to escape the user and host name strings.  (#506250)



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

Modified: trunk/camel/camel-session.c
==============================================================================
--- trunk/camel/camel-session.c	(original)
+++ trunk/camel/camel-session.c	Fri Jan 18 02:22:40 2008
@@ -456,8 +456,8 @@
 	/* Add bold tags to the "user" and "host" strings.  We use
 	 * separate strings here to avoid putting markup tags in the
 	 * translatable string below. */
-	user_markup = g_strdup_printf ("<b>%s</b>", user);
-	host_markup = g_strdup_printf ("<b>%s</b>", host);
+	user_markup = g_markup_printf_escaped ("<b>%s</b>", user);
+	host_markup = g_markup_printf_escaped ("<b>%s</b>", host);
 
 	/* Translators: The first argument is the account type
 	 * (e.g. "IMAP"), the second is the user name, and the



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