hexlet-codebattle / hexlet-codebattle/codebattle

Bug: Password validation error when using Cyrillic characters during registration

Abierto
#2,341 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Elixir
Estrellas
880
Forks
237
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
elixir, javascript
Área
authentication, backend, frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
56/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.