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
This commit is contained in:
Jeffrey Stedfast
2001-07-03 15:52:12 +00:00
committed by Jeffrey Stedfast
parent 8e7eea0d26
commit ce575645ca
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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 ();