[evolution/webkit] "email://" URIs have encoded paths too.



commit 78accafa3ef61aa53cba78e3c711bbe043e59562
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun May 8 22:11:09 2011 -0400

    "email://" URIs have encoded paths too.

 mail/e-mail-folder-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-folder-utils.c b/mail/e-mail-folder-utils.c
index d73f13a..6332e9c 100644
--- a/mail/e-mail-folder-utils.c
+++ b/mail/e-mail-folder-utils.c
@@ -299,7 +299,7 @@ e_mail_folder_uri_parse (CamelSession *session,
 		}
 
 		if (url->path != NULL && *url->path == '/')
-			folder_name = g_strdup (url->path + 1);
+			folder_name = camel_url_decode_path (url->path + 1);
 
 	/* CamelFolderInfo URIs used to embed the store's URI, so the
 	 * folder name is appended as either a path part or a fragment



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]