aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/folder-browser.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4635e70c9d..e2e51b16d6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-03 Jeffrey Stedfast <fejj@ximian.com>
+
+ * folder-browser.c (message_list_drag_data_get): Hide the URL
+ passwd, auth, and params.
+ (folder_browser_copy): Same.
+
2001-07-03 Dan Winship <danw@ximian.com>
* mail-ops.c (filter_folder_filter): Don't pass a dirty exception
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index fca23c8f2f..cee92b4d60 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -288,7 +288,8 @@ message_list_drag_data_get (ETree *tree, int row, ETreePath path, int col,
/* format: "url folder_name uid1\0uid2\0uid3\0...\0uidn" */
- url = camel_url_to_string (CAMEL_SERVICE (camel_folder_get_parent_store (fb->folder))->url, 0);
+ url = camel_url_to_string (CAMEL_SERVICE (camel_folder_get_parent_store (fb->folder))->url,
+ CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_AUTH | CAMEL_URL_HIDE_AUTH);
/* write the url portion */
array = g_byte_array_new ();
@@ -546,7 +547,8 @@ folder_browser_copy (GtkWidget *menuitem, FolderBrowser *fb)
/* format: "url folder_name uid1\0uid2\0uid3\0...\0uidn" */
- url = camel_url_to_string (CAMEL_SERVICE (camel_folder_get_parent_store (fb->folder))->url, 0);
+ url = camel_url_to_string (CAMEL_SERVICE (camel_folder_get_parent_store (fb->folder))->url,
+ CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_AUTH | CAMEL_URL_HIDE_PARAMS);
/* write the url portion */
bytes = g_byte_array_new ();