[shotwell/wip/libsoup3: 9/10] REST: Do not strip encoding from URLs
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/libsoup3: 9/10] REST: Do not strip encoding from URLs
- Date: Sun, 10 Jul 2022 09:54:50 +0000 (UTC)
commit 2a67708e621b14ed813555bad2b5d3034c9a139a
Author: Jens Georg <mail jensge org>
Date: Sat Jul 9 12:48:43 2022 +0200
REST: Do not strip encoding from URLs
plugins/common/RESTSupport.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/common/RESTSupport.vala b/plugins/common/RESTSupport.vala
index 93d7d691..cddedf4a 100644
--- a/plugins/common/RESTSupport.vala
+++ b/plugins/common/RESTSupport.vala
@@ -453,7 +453,7 @@ public class Transaction {
old_url = message.get_uri();
url_with_query = get_endpoint_url() + "?" + formdata_string.str;
try {
- message.set_uri(GLib.Uri.parse(url_with_query, GLib.UriFlags.NONE));
+ message.set_uri(GLib.Uri.parse(url_with_query, GLib.UriFlags.ENCODED));
} catch (Error err) {
error ("Invalid uri for service: %s", err.message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]