[Xfce4-commits] <postler:master> Decode URI before passing name to EditContact

Christian Dywan noreply at xfce.org
Wed Jan 19 02:58:04 CET 2011


Updating branch refs/heads/master
         to 5c1d51459d2b4db54118b03d7be212887f46f060 (commit)
       from 6a2a340a9e79612477146c0356f436d1e7c0dfc3 (commit)

commit 5c1d51459d2b4db54118b03d7be212887f46f060
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jan 19 00:38:16 2011 +0100

    Decode URI before passing name to EditContact

 postler/postler-content.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 111d7e0..e76d77c 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -1058,7 +1058,7 @@ public class Postler.Content : WebKit.WebView {
 
         decision.ignore ();
         if (uri.has_prefix ("contact:")) {
-            string[] parts = uri.split (":");
+            string[] parts = Soup.URI.decode (uri).split (":");
             new Dexter.Dexter ().edit_contact (parts[1], parts[2]);
             return true;
         }



More information about the Xfce4-commits mailing list