hexlet-codebattle / hexlet-codebattle/codebattle
Bug: Password validation error when using Cyrillic characters during registration
- Ngôn ngữ chính
- Elixir
- Star
- 880
- Fork
- 237
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Summary
When registering a new user on the /signup page, the system fails to validate Cyrillic characters in the password field, allowing invalid input or causing an unhandled error.
### Reproduction steps
```bash
1. Navigate to the registration page /signup.
2. Enter Nickname: tester123 and Email: test@example.com.
3. Enter 12345678ы into the Password field.
4. Re-enter 12345678ы into the Password Confirmation field.
5. Click the Submit button.
```
### Expected result
The system displays a validation error "Should contain at least one letter" (or blocks Cyrillic input) and prevents form submission.
### Actual result
The form is submitted without validating Cyrillic characters (the user is registered with Cyrillic characters in the password), or a server error occurs without displaying a validation error message.
### Browsers
Chrome
### OS
Windows
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by reproducing the issue on the /signup page with the password 12345678ы in Chrome on Windows, then trace the registration validation and submission handling. Done means Cyrillic input is handled consistently, the expected validation error is shown or the input is blocked, and registration does not proceed or fail with an unhandled server error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- elixir, javascript
- Lĩnh vực
- authentication, backend, frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 56/100