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

Bug: User can change nickname with special character as 1st letter and with 2 spaces. #2073

Open
Dmitrydrum opened this issue Feb 12, 2025 · 0 comments · May be fixed by #2101
Open

Bug: User can change nickname with special character as 1st letter and with 2 spaces. #2073

Dmitrydrum opened this issue Feb 12, 2025 · 0 comments · May be fixed by #2101
Labels

Comments

@Dmitrydrum
Copy link

Dmitrydrum commented Feb 12, 2025

Summary

There is an inconsistency with nickname's requirements. User can change nickname through settings with 2 spaces and special character as 1st letter, but user cannot do it when register a new account.
Current version: babf5ed
Prerequisites:
User is logged in
Lobby page is opened https://codebattle.hexlet.io/#lobby
Nickname has not been taken already

Image
Image

Reproduction steps

1. Click on profile icon
2. Click on "settings"
3. Type "@  2" in "Your name" field
4. Click on "save" button

Expected result

Nickname doesn't change. Validation error occurs

Actual result

Nickname does change.

Image

Browsers

Chrome

OS

Windows

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