UrlEncode patterns in cosmetics.json (#1273)

## Description:

Use base64url encoding for patterns.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors
This commit is contained in:
Scott Anderson
2025-06-25 20:20:08 -07:00
committed by GitHub
parent b181c6c15d
commit 1b1ed9bf3f
2 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ export const FlagSchema = z.string().max(128).optional();
export const RequiredPatternSchema = z
.string()
.max(128)
.base64()
.base64url()
.refine(
(val) => {
try {