Skip to content

Fix account username validation pattern - #16

Merged
ablond merged 1 commit into
mainfrom
codex/fix-account-username-pattern
Jul 22, 2026
Merged

Fix account username validation pattern#16
ablond merged 1 commit into
mainfrom
codex/fix-account-username-pattern

Conversation

@ablond

@ablond ablond commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

Escape the username pattern hyphen so browsers compiling HTML patterns with the Unicode v flag accept the expression without a console error.

Production finding

The account flow worked, but Chromium reported the previous character class as an invalid regular expression when opening the Saves panel.

Validation

  • direct RegExp validation with the v flag
  • pnpm check
  • pnpm test
  • pnpm build
  • pnpm docker:build-prod
  • staged diff scanned with Gitleaks

@ablond
ablond merged commit 6ce0944 into main Jul 22, 2026
1 check passed
@ablond
ablond deleted the codex/fix-account-username-pattern branch July 22, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant