fix RFC 8785 JSON normalization

This commit is contained in:
Florian Dold 2022-01-27 15:29:55 +01:00
parent 8684a9bfea
commit 32f1276b8c
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit b0dd85e8187f33a1f92dd5eb31082050d333e168 Subproject commit 9b8a787580307cea5a38359c485d521cd8ece820

View File

@ -78,27 +78,27 @@ lowdump (struct GNUNET_Buffer *buf,
{ {
case 0x8: case 0x8:
GNUNET_buffer_write (buf, GNUNET_buffer_write (buf,
"\b", "\\b",
2); 2);
break; break;
case 0x9: case 0x9:
GNUNET_buffer_write (buf, GNUNET_buffer_write (buf,
"\t", "\\t",
2); 2);
break; break;
case 0xA: case 0xA:
GNUNET_buffer_write (buf, GNUNET_buffer_write (buf,
"\n", "\\n",
2); 2);
break; break;
case 0xC: case 0xC:
GNUNET_buffer_write (buf, GNUNET_buffer_write (buf,
"\f", "\\f",
2); 2);
break; break;
case 0xD: case 0xD:
GNUNET_buffer_write (buf, GNUNET_buffer_write (buf,
"\r", "\\r",
2); 2);
break; break;
default: default: