From 5657512370a76b757c26719c9f5981c72bf0d6bc Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 28 Aug 2023 10:09:25 -0700 Subject: [PATCH] ndb: restore escaped slash fix --- nostrdb/nostrdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nostrdb/nostrdb.c b/nostrdb/nostrdb.c index b84f6a62..db67aa97 100644 --- a/nostrdb/nostrdb.c +++ b/nostrdb/nostrdb.c @@ -1205,6 +1205,7 @@ static int cursor_push_unescaped_char(struct cursor *cur, char c1, char c2) case 'b': return cursor_push_byte(cur, '\b'); case 'f': return cursor_push_byte(cur, '\f'); case '\\': return cursor_push_byte(cur, '\\'); + case '/': return cursor_push_byte(cur, '/'); case '"': return cursor_push_byte(cur, '"'); case 'u': // these aren't handled yet