Skip to content

Conversation

@0x2b3bfa0
Copy link

Fixes #15985 by making sure that parsed user identifiers don't contain characters outside the [0-9] range.

@0x2b3bfa0 0x2b3bfa0 marked this pull request as ready for review May 31, 2020 14:41
@keszybz
Copy link
Member

keszybz commented May 31, 2020

I created a patch before I saw your pull request, see #15991.

@keszybz
Copy link
Member

keszybz commented May 31, 2020

Oh, in particular your patch rejects 01234, but id and other tools parse that as a decimal number. I think we should do the same, it would create a pointless difference to do anything different. So I'll close this in favour of #15991, since the implementation there is a bit nicer.

@0x2b3bfa0
Copy link
Author

0x2b3bfa0 commented May 31, 2020

👌 :shipit: Excellent!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

User names beginning with 0x being interpreted as user identifiers

2 participants