From 83ad1812fd1a9949d1354932c4779aa1e3a094ed Mon Sep 17 00:00:00 2001 From: d-linko Date: Mon, 20 Nov 2023 06:05:09 -0500 Subject: [PATCH] fixing overly permissive regular expression range --- .../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"],