What is Nostr?
Dan Luu /
npub1pm9…88nl
2024-01-24 22:11:44
in reply to nevent1q…496w

Dan Luu on Nostr: The bug here is that if you write an unexpected author line, the regex looking for an ...

The bug here is that if you write an unexpected author line, the regex looking for an author keeps scanning until it finds another author line (which is fake!): https://iter.ca/post/gh-sig-pwn/

If you wrote a parser and it encountered unexpected stuff, it seems pretty standard to error out when you run into unexpected stuff and not just keep consuming and throwing away input until it matches something expected.

Am I missing something here?
Author Public Key
npub1pm93exm0eyfep2635k3epqh5f39tuzse44nuvwmsn5t4a0erureqnl88nl