Skip to content

Commit

Permalink
Merge pull request #4736 from czepan/develop
Browse files Browse the repository at this point in the history
[CORL-4733] encodes unicode chars for WebKit engines
  • Loading branch information
tessalt authored Feb 12, 2025
2 parents 4d7875a + 8f3ba2b commit 819e929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/helpers/validate.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import url from "url-regex-safe";

export const USERNAME_REGEX = new RegExp(/^[a-zA-ZÀ-ÖØ-öø-ÿ0-9_.]+$/);
export const USERNAME_REGEX = new RegExp(/^[a-zA-Z0-9_.\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]+$/);
export const USERNAME_MAX_LENGTH = 30;
export const USERNAME_MIN_LENGTH = 3;

Expand Down

0 comments on commit 819e929

Please sign in to comment.