aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-09-26 17:08:03 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-09-26 17:08:03 +0800
commit7b20d6f5b4f5582c727543d518e29f35dd50d010 (patch)
treec5fb69d3acbea2494e65a7f6b5b9d0a6ac9890a5
parent6df1e6d99608781b9e37b02e2a8c28074823ca7f (diff)
downloadgsoc2013-evolution-7b20d6f5b4f5582c727543d518e29f35dd50d010.tar.gz
gsoc2013-evolution-7b20d6f5b4f5582c727543d518e29f35dd50d010.tar.zst
gsoc2013-evolution-7b20d6f5b4f5582c727543d518e29f35dd50d010.zip
** Fix for bug #552583 (Suggested by Sebastian Keller)
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. svn path=/trunk/; revision=36458
-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 */