Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enode QR scanner result includes whitespace/newline #10306

Closed
jakubgs opened this issue Apr 8, 2020 · 0 comments · Fixed by #10332
Closed

enode QR scanner result includes whitespace/newline #10306

jakubgs opened this issue Apr 8, 2020 · 0 comments · Fixed by #10332
Assignees

Comments

@jakubgs
Copy link
Member

jakubgs commented Apr 8, 2020

Problem

Currently if I generate a QR code with a trailing newline the input field will reject it:
status_invorrect_enode

Expected behavior

Newlines and whitespace characters around enode should be trimmed automatically.

Actual behavior

Fails enode regex test due to newline/whitespace.

Notes

This might also apply to scanning of ethereum addresses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

4 participants