aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-06-24 04:07:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-24 04:07:07 +0800
commita13993737588ffc3d8c2caedf235634e8eadfe1c (patch)
tree434bd0aab4c16adf3b0e1fb21e8a144f2ee6a89e /camel
parent038b8b12ef9e3338260c08b1333221a93e23b852 (diff)
downloadgsoc2013-evolution-a13993737588ffc3d8c2caedf235634e8eadfe1c.tar
gsoc2013-evolution-a13993737588ffc3d8c2caedf235634e8eadfe1c.tar.gz
gsoc2013-evolution-a13993737588ffc3d8c2caedf235634e8eadfe1c.tar.bz2
gsoc2013-evolution-a13993737588ffc3d8c2caedf235634e8eadfe1c.tar.lz
gsoc2013-evolution-a13993737588ffc3d8c2caedf235634e8eadfe1c.tar.xz
gsoc2013-evolution-a13993737588ffc3d8c2caedf235634e8eadfe1c.tar.zst
gsoc2013-evolution-a13993737588ffc3d8c2caedf235634e8eadfe1c.zip
Hide password, etc info in the fi->uri's.
2004-06-23 Jeffrey Stedfast <fejj@novell.com> * providers/imap4/camel-imap4-store.c (imap4_build_folder_info): Hide password, etc info in the fi->uri's. * providers/imap4/camel-imap4-provider.c: Specify that the fragment is the path. svn path=/trunk/; revision=26482
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog8
-rw-r--r--camel/providers/imap4/camel-imap4-provider.c2
-rw-r--r--camel/providers/imap4/camel-imap4-store.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index c316877c88..b0c3dd141e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,11 @@
+2004-06-23 Jeffrey Stedfast <fejj@novell.com>
+
+ * providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
+ Hide password, etc info in the fi->uri's.
+
+ * providers/imap4/camel-imap4-provider.c: Specify that the
+ fragment is the path.
+
2004-06-21 Christian Kellner <gicmo@xatom.net>
* camel-service.c (service_setv): Really set the path if tag is
diff --git a/camel/providers/imap4/camel-imap4-provider.c b/camel/providers/imap4/camel-imap4-provider.c
index 185053f032..045c3763ad 100644
--- a/camel/providers/imap4/camel-imap4-provider.c
+++ b/camel/providers/imap4/camel-imap4-provider.c
@@ -59,7 +59,7 @@ static CamelProvider imap4_provider = {
CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_SOURCE |
CAMEL_PROVIDER_IS_STORAGE | CAMEL_PROVIDER_SUPPORTS_SSL,
- CAMEL_URL_NEED_USER | CAMEL_URL_NEED_HOST | CAMEL_URL_ALLOW_AUTH,
+ CAMEL_URL_NEED_USER | CAMEL_URL_NEED_HOST | CAMEL_URL_ALLOW_AUTH | CAMEL_URL_FRAGMENT_IS_PATH,
imap4_conf_entries,
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index 1dfb934780..6c80dcd777 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -1083,7 +1083,7 @@ imap4_build_folder_info (CamelStore *store, const char *top, guint32 flags, GPtr
fi->full_name = name;
fi->name = g_strdup (p ? p + 1: name);
- fi->uri = camel_url_to_string (url, 0);
+ fi->uri = camel_url_to_string (url, CAMEL_URL_HIDE_ALL);
fi->flags = list->flags;
fi->unread = -1;
fi->total = -1;