gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix RFC 8785 JSON normalization


From: gnunet
Subject: [taler-exchange] branch master updated: fix RFC 8785 JSON normalization
Date: Thu, 27 Jan 2022 15:30:01 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 32f1276b fix RFC 8785 JSON normalization
32f1276b is described below

commit 32f1276b8c9cdc65f6873b8dc8d86240f25c8907
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Jan 27 15:29:55 2022 +0100

    fix RFC 8785 JSON normalization
---
 contrib/gana    |  2 +-
 src/json/json.c | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index b0dd85e8..9b8a7875 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit b0dd85e8187f33a1f92dd5eb31082050d333e168
+Subproject commit 9b8a787580307cea5a38359c485d521cd8ece820
diff --git a/src/json/json.c b/src/json/json.c
index 705cfe92..bf3b2a0e 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -78,27 +78,27 @@ lowdump (struct GNUNET_Buffer *buf,
   {
   case 0x8:
     GNUNET_buffer_write (buf,
-                         "\b",
+                         "\\b",
                          2);
     break;
   case 0x9:
     GNUNET_buffer_write (buf,
-                         "\t",
+                         "\\t",
                          2);
     break;
   case 0xA:
     GNUNET_buffer_write (buf,
-                         "\n",
+                         "\\n",
                          2);
     break;
   case 0xC:
     GNUNET_buffer_write (buf,
-                         "\f",
+                         "\\f",
                          2);
     break;
   case 0xD:
     GNUNET_buffer_write (buf,
-                         "\r",
+                         "\\r",
                          2);
     break;
   default:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]