From 7b20d6f5b4f5582c727543d518e29f35dd50d010 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 26 Sep 2008 09:08:03 +0000 Subject: ** Fix for bug #552583 (Suggested by Sebastian Keller) 2008-09-26 Milan Crha ** Fix for bug #552583 (Suggested by Sebastian Keller) * mail-session.c: (get_password): Do not hide auth_mech from the URL. svn path=/trunk/; revision=36458 --- mail/ChangeLog | 7 +++++++ mail/mail-session.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 34686abb67..691055da96 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2008-09-26 Milan Crha + + ** Fix for bug #552583 (Suggested by Sebastian Keller) + + * mail-session.c: (get_password): + Do not hide auth_mech from the URL. + 2008-09-25 Philip Withnall ** Fix for bug #552551 diff --git a/mail/mail-session.c b/mail/mail-session.c index d86242d393..b317612960 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -171,7 +171,7 @@ get_password (CamelSession *session, CamelService *service, const char *domain, char *ret = NULL; EAccount *account = NULL; - url = service?camel_url_to_string(service->url, CAMEL_URL_HIDE_ALL):NULL; + url = service ? camel_url_to_string (service->url, CAMEL_URL_HIDE_ALL & (~CAMEL_URL_HIDE_AUTH)) : NULL; if (!strcmp(item, "popb4smtp_uri")) { /* not 100% mt safe, but should be ok */ -- cgit