[Xfce4-commits] <postler:master> Decode mailto string if it is percent encoded
Christian Dywan
noreply at xfce.org
Sun Jan 30 09:32:01 CET 2011
Updating branch refs/heads/master
to 9a9cd9f170d611f143f38da5332e0c6b9cf95e51 (commit)
from 73c31c232d3e0c5888cf3ba05a669b9fa62ff52d (commit)
commit 9a9cd9f170d611f143f38da5332e0c6b9cf95e51
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Jan 30 09:27:42 2011 +0100
Decode mailto string if it is percent encoded
postler/postler-reader.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index 1fe0db9..a792753 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -127,7 +127,7 @@ public class Postler.Reader {
mailto = filenames[0].substring (7, -1);
else
mailto = filenames[0];
- string[] fields = mailto.split_set ("?&");
+ string[] fields = Soup.URI.decode (mailto).split_set ("?&");
foreach (var field in fields) {
string[] pieces = field.split ("=");
bool success;
More information about the Xfce4-commits
mailing list