aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-03 23:52:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-03 23:52:12 +0800
commitce575645ca0cd0231e1907aa981855a90dac110b (patch)
tree2022284e24e101c20d3c81cdff1217ff88d32268 /mail/folder-browser.c
parent8e7eea0d261f38e22c72a9a394df6375247c8e59 (diff)
downloadgsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.tar.gz
gsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.tar.zst
gsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.zip
Hide the URL passwd, auth, and params. (folder_browser_copy): Same.
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. svn path=/trunk/; revision=10749
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c6
1 files changed, 4 insertions, 2 deletions
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 ();