fix RFC 8785 JSON normalization
This commit is contained in:
parent
8684a9bfea
commit
32f1276b8c
@ -1 +1 @@
|
|||||||
Subproject commit b0dd85e8187f33a1f92dd5eb31082050d333e168
|
Subproject commit 9b8a787580307cea5a38359c485d521cd8ece820
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user