Skip to content

Conversation

sosoba
Copy link
Contributor

@sosoba sosoba commented Nov 22, 2022

Currently npm accept null / undefined / empty string as valid username.
Client should validate incomming data.

References

Fixes #5867 (prevent undefined username)

Fix for #5867 (prevent undefined username)
@sosoba sosoba requested a review from a team as a code owner November 22, 2022 06:09
@sosoba sosoba changed the title Update get-identity.js fix: Validate username at get-identity Nov 22, 2022
@fritzy fritzy merged commit c26d708 into npm:latest Nov 30, 2022
@github-actions github-actions bot mentioned this pull request Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] npm whoami allow empty username
3 participants