aboutsummaryrefslogtreecommitdiffstats
path: root/mail/session.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-30 01:36:49 +0800
committerDan Winship <danw@src.gnome.org>2001-03-30 01:36:49 +0800
commit93bd9285904ca669609abab498b1d406395452c9 (patch)
treec674aa6b35d8843c4158ab22e7cd2bfadfa6acbd /mail/session.c
parentbd52985962ec52ed1a89a466c66fab61e5fe9134 (diff)
downloadgsoc2013-evolution-93bd9285904ca669609abab498b1d406395452c9.tar
gsoc2013-evolution-93bd9285904ca669609abab498b1d406395452c9.tar.gz
gsoc2013-evolution-93bd9285904ca669609abab498b1d406395452c9.tar.bz2
gsoc2013-evolution-93bd9285904ca669609abab498b1d406395452c9.tar.lz
gsoc2013-evolution-93bd9285904ca669609abab498b1d406395452c9.tar.xz
gsoc2013-evolution-93bd9285904ca669609abab498b1d406395452c9.tar.zst
gsoc2013-evolution-93bd9285904ca669609abab498b1d406395452c9.zip
Update call to camel_url_to_string. (Don't include the params in the
* session.c (auth_callback): Update call to camel_url_to_string. (Don't include the params in the password hash table key.) * mail-config.c (mail_config_folder_to_cachename): Call camel_url_to_string with HIDE_PASSWORD and HIDE_PARAMS so that changing URL params doesn't change the cachename. * mail-ops.c (add_vtrash_info): * mail-local.c (reconfigure_folder_reconfigure): * mail-account-gui.c (save_service): Update calls to camel_url_to_string. svn path=/trunk/; revision=9015
Diffstat (limited to 'mail/session.c')
-rw-r--r--mail/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/session.c b/mail/session.c
index e5084fb7ee..372d104839 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -118,7 +118,7 @@ auth_callback (CamelAuthCallbackMode mode, char *data, gboolean secret,
char *key, *ans, *url;
gboolean accept;
- url = camel_url_to_string (service->url, FALSE);
+ url = camel_url_to_string (service->url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
key = g_strdup_printf ("%s:%s", url, item);
g_free (url);