Hide password, etc info in the fi->uri's.
authorJeffrey Stedfast <fejj@novell.com>
Wed, 23 Jun 2004 20:07:07 +0000 (20:07 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Wed, 23 Jun 2004 20:07:07 +0000 (20:07 +0000)
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.

camel/ChangeLog
camel/providers/imap4/camel-imap4-provider.c
camel/providers/imap4/camel-imap4-store.c

index c316877..b0c3dd1 100644 (file)
@@ -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 
index 185053f..045c376 100644 (file)
@@ -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,
        
index 1dfb934..6c80dcd 100644 (file)
@@ -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;