[shotwell] Revert "publishers: Properly escape urlencoded payload"



commit b5dd17ea16b1a44933fb65378dc5a30971dcec5a
Author: Jens Georg <mail jensge org>
Date:   Sun Mar 25 14:34:46 2018 +0200

    Revert "publishers: Properly escape urlencoded payload"
    
    It Breaks at least flicker upload
    
    This reverts commit 7dc86b74c8a4cd251fb8815a818a206cd7a0d6b0.

 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 6a766b5..d92c264 100644
--- a/plugins/common/RESTSupport.vala
+++ b/plugins/common/RESTSupport.vala
@@ -151,7 +151,7 @@ public class Argument {
     }
 
     public string to_string (bool escape = false) {
-        return "%s=%s%s%s".printf (Uri.escape_string (this.key), escape ? "\"" : "", Uri.escape_string 
(this.value), escape ? "\"" : "");
+        return "%s=%s%s%s".printf (this.key, escape ? "\"" : "", this.value, escape ? "\"" : "");
     }
 }
 


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