From b6611b406fad3620d2141b8bf7fb9140cb626187 Mon Sep 17 00:00:00 2001 From: Siarhei Iukou Date: Mon, 23 Dec 2024 12:08:09 +0300 Subject: [PATCH] EPMRPP-98406 || Not possible to create Rally integration with valid Link to BTS value due to the validation --- app/src/common/utils/validation/validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/common/utils/validation/validate.js b/app/src/common/utils/validation/validate.js index 5d13d0ef6d..f8baebaf9f 100644 --- a/app/src/common/utils/validation/validate.js +++ b/app/src/common/utils/validation/validate.js @@ -31,7 +31,7 @@ export const isNotEmptyArray = composeValidators([isNotEmpty, minLength(1)]); export const url = composeValidators([isNotEmpty, regex(/^(ftp|http|https):\/\/[^ "]+$/)]); export const rallyUrl = composeValidators([ isNotEmpty, - regex(/^(https:\/\/rally1.rallydev.com\/).*/), + regex(/^(https:\/\/rally1.rallydev.com).*/), ]); export const email = composeValidators([regex(/^[a-z0-9.+_-]+@[a-z0-9_.-]+?\.[a-z0-9]{2,}$/i)]); export const requiredEmail = composeValidators([isNotEmpty, email]);