From bce1f34c2f261ed5af969859be242b8e074ea0e5 Mon Sep 17 00:00:00 2001 From: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com> Date: Tue, 27 Jun 2023 13:56:13 +0200 Subject: [PATCH] [ACS-5398] Fixed useless regular expression character (#8710) --- .../form/widgets/content-widget/attach-file-widget.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/process-services/src/lib/form/widgets/content-widget/attach-file-widget.component.ts b/lib/process-services/src/lib/form/widgets/content-widget/attach-file-widget.component.ts index 0473d03912..7eb90c6caf 100644 --- a/lib/process-services/src/lib/form/widgets/content-widget/attach-file-widget.component.ts +++ b/lib/process-services/src/lib/form/widgets/content-widget/attach-file-widget.component.ts @@ -283,7 +283,7 @@ export class AttachFileWidgetComponent extends UploadWidgetComponent implements } private getDomainHost(urlToCheck: string): string { - const result = urlToCheck.match('^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)'); + const result = urlToCheck.match('^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\\.)?([^:\/?\n]+)'); return result[1]; }