Files
romm/backend/tests/endpoints
Marcello Pichini ff31cf9428 fix(validation): reject email addresses ending in a newline (#5593)
* fix(validation): reject email addresses ending in a newline

* fix(validation): reject usernames ending in a newline

The username pattern had the same trailing-newline gap as the email one.
Both patterns now rely on fullmatch, so their anchors are dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(user): use the renamed bearer helper

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 21:57:31 -05:00
..