damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 5657512370a76b757c26719c9f5981c72bf0d6bc
parent 882f6e2534ae90160b9a513961f171a803109566
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 28 Aug 2023 10:09:25 -0700

ndb: restore escaped slash fix

Diffstat:
Mnostrdb/nostrdb.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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