hexlet-codebattle / hexlet-codebattle/codebattle

Bug: Password validation error when using Cyrillic characters during registration

Offen
#2,341 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Elixir
Sterne
880
Forks
237
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
elixir, javascript
Bereich
authentication, backend, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
56/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.