aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parent8e7eea0d261f38e22c72a9a394df6375247c8e59 (diff)
downloadgsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.tar
gsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.tar.gz
gsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.tar.bz2
gsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.tar.lz
gsoc2013-evolution-ce575645ca0cd0231e1907aa981855a90dac110b.tar.xz
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')
-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 ();