From b060bc153f14d239227237748caa9215965275d2 Mon Sep 17 00:00:00 2001 From: Maria Carmina <50501033+mariacarmina@users.noreply.github.com> Date: Tue, 25 Jun 2024 10:24:15 +0300 Subject: [PATCH 1/2] Sanitize service endpoint by adding/reving slash when needed. (#1821) * Sanitize service endpoint by adding/reving slash when needed. --- src/services/Provider.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/services/Provider.ts b/src/services/Provider.ts index 27cb40aa..548ca632 100644 --- a/src/services/Provider.ts +++ b/src/services/Provider.ts @@ -61,7 +61,10 @@ export class Provider { const endpoint: ServiceEndpoint = { serviceName: i, method: endpoints.serviceEndpoints[i][0], - urlPath: providerEndpoint + endpoints.serviceEndpoints[i][1] + urlPath: + providerEndpoint.replace(/\/+$/, '') + + '/' + + endpoints.serviceEndpoints[i][1].replace(/^\/+/, '') } serviceEndpoints.push(endpoint) } From e66748b9f2fafe27570d913848d3c167e76b7973 Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Tue, 25 Jun 2024 10:33:46 +0300 Subject: [PATCH 2/2] Update CODEOWNERS (#1824) --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a03e3086..fe7076a8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @mihaisc @kremalicious @alexcos20 @bogdanfazakas \ No newline at end of file +* @mihaisc @alexcos20 @bogdanfazakas @paulo-ocean @mariacarmina @jamiehewitt15