hexlet-codebattle / hexlet-codebattle/codebattle

Bug: Password validation error when using Cyrillic characters during registration

Aperta
#2,341 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Elixir
Stelle
880
Fork
237
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
elixir, javascript
Ambito
authentication, backend, frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
56/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.