aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-session.c2
2 files changed, 8 insertions, 1 deletions
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 <mcrha@redhat.com>
+
+ ** 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 <philip@tecnocode.co.uk>
** 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 */