From f46b409f2c18e3cdbafdabf4ebbb991f472cb3e3 Mon Sep 17 00:00:00 2001 From: David Linko Date: Wed, 22 Nov 2023 03:26:05 -0500 Subject: [PATCH] fixing overly permissive regular expression range (#63) Co-authored-by: d-linko --- .../public/app/components/management/builder/primParameter.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anms-ui/public/app/components/management/builder/primParameter.vue b/anms-ui/public/app/components/management/builder/primParameter.vue index 2192b7a..7d81072 100644 --- a/anms-ui/public/app/components/management/builder/primParameter.vue +++ b/anms-ui/public/app/components/management/builder/primParameter.vue @@ -13,7 +13,7 @@ import {integer, decimal, minValue, helpers } from 'vuelidate/lib/validators' import Vue from 'vue'; import Vuelidate from 'vuelidate'; Vue.use(Vuelidate); -const ariRegex = helpers.regex('ariRegex',/^ari:\/[a-zA-z]+\.[a-zA-z]\w*$/); +const ariRegex = helpers.regex('ariRegex',/^ari:\/[a-zA-Z]+\.\w+$/); export default { name: "prim", props: ["type", "name", "index"],