[shotwell/shotwell-0.26] publishers: Properly escape urlencoded payload
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/shotwell-0.26] publishers: Properly escape urlencoded payload
- Date: Sat, 10 Mar 2018 06:40:02 +0000 (UTC)
commit c4c4eb2f4a9d8ffdcd67cf6637ceb68ce71a935a
Author: Jens Georg <mail jensge org>
Date: Sat Feb 10 21:12:32 2018 +0100
publishers: Properly escape urlencoded payload
https://bugzilla.gnome.org/show_bug.cgi?id=718742
plugins/common/RESTSupport.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/RESTSupport.vala b/plugins/common/RESTSupport.vala
index f06473c..1a152b0 100644
--- a/plugins/common/RESTSupport.vala
+++ b/plugins/common/RESTSupport.vala
@@ -137,7 +137,7 @@ public class Argument {
}
public string to_string () {
- return "%s=%s".printf (this.key, this.value);
+ return "%s=%s".printf (Uri.escape (this.key), Uri.escape (this.value));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]