[gnome-maps/wip/mlundblad/photon-geocode: 2/13] http: Escape & when	encoding URI parameters
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-maps/wip/mlundblad/photon-geocode: 2/13] http: Escape & when	encoding URI parameters
- Date: Mon,  3 Jun 2019 19:06:54 +0000 (UTC)
commit 4ef02d0d82c377f36ce693d261fdaf88b4a9a266
Author: Marcus Lundblad <ml update uu se>
Date:   Mon May 13 22:01:56 2019 +0200
    http: Escape & when encoding URI parameters
 src/http.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/http.js b/src/http.js
index 1089ff0..e90b61d 100644
--- a/src/http.js
+++ b/src/http.js
@@ -25,7 +25,7 @@ function encode(data) {
     if(data === null)
         return null;
 
-    return Soup.URI.encode(data.toString(), null);
+    return Soup.URI.encode(data.toString(), '&');
 }
 
 var Query = class Query {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]