Skip to content

Commit

Permalink
fix: check for new encrypted format when validating URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Viren070 committed Feb 11, 2025
1 parent cc5752b commit 6b85a0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/addon/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ export function validateConfig(config: Config): {
} else if (
addon.options[option.id]?.match(
/^E-[0-9a-fA-F]{32}-[0-9a-fA-F]+$/
) === null
) === null &&
addon.options[option.id]?.match(/^E2-[^-]+-[^-]+$/) === null
) {
try {
new URL(addon.options[option.id] as string);
Expand Down

0 comments on commit 6b85a0c

Please sign in to comment.