Skip to content

Commit

Permalink
ACS-5398 Fixed useless regular expression character
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderSklorz committed Jun 27, 2023
1 parent 970ceeb commit 9c531de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down

0 comments on commit 9c531de

Please sign in to comment.