From dabf0adb81231b18909875834d5d6ab3602c14ca Mon Sep 17 00:00:00 2001 From: hay-kot Date: Fri, 7 May 2021 12:52:32 -0800 Subject: [PATCH] fixes #396 --- frontend/src/components/UI/TheRecipeFab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/UI/TheRecipeFab.vue b/frontend/src/components/UI/TheRecipeFab.vue index 6ae906130..6bb8e267b 100644 --- a/frontend/src/components/UI/TheRecipeFab.vue +++ b/frontend/src/components/UI/TheRecipeFab.vue @@ -106,7 +106,7 @@ export default { this.processing = false; }, isValidWebUrl(url) { - let regEx = /^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)$/gm; + let regEx = /^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,256}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)$/gm; return regEx.test(url) ? true : "Must be a Valid URL"; }, },