nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

commit 882c98b17d90139c1f9f09abc5ae37e4a7ac3b80
parent e9674f92eea8a134fb499335982a20e96a56955a
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 28 Aug 2023 10:08:20 -0700

port escaped slash fix from damus

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

diff --git a/nostrdb.c b/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