hexlet-codebattle / hexlet-codebattle/codebattle

Bug: Password validation error when using Cyrillic characters during registration

Ouverte
#2,341 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Elixir
Étoiles
880
Forks
237
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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.

Image

### 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.

Image

### Browsers

Chrome

### OS

Windows

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
elixir, javascript
Domaine
authentication, backend, frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
56/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.