From 36331cf7cda3b86ac4446355720a9b05b60ff0f8 Mon Sep 17 00:00:00 2001 From: George Oastler Date: Tue, 9 Apr 2024 15:16:21 +0100 Subject: [PATCH] remove null char regex replace (#1140) --- packages/common/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/utils.ts b/packages/common/src/utils.ts index fd78832f6a..ff5f5449ac 100644 --- a/packages/common/src/utils.ts +++ b/packages/common/src/utils.ts @@ -62,7 +62,7 @@ export const translationKeys = getLeafFieldPath(translationEn) as TranslationKey // String utils export const trimProviderUrl = (url: string) => { - return hexToString(url).replace(/\0/g, '') + return hexToString(url) } export function snakeToCamelCase(str: string): string {