From adbe90575c5272c608ee2a54ca50f75c2fb71e8d Mon Sep 17 00:00:00 2001 From: flakey5 <73616808+flakey5@users.noreply.github.com> Date: Sun, 12 Nov 2023 12:32:18 -0800 Subject: [PATCH] fix: don't unneccessarily parse uris See https://nodejs-org.sentry.io/issues/4622681006/events/3a4e26a6669c46ffb84f20369e90ac8c/ --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index fed2322..b12e949 100644 --- a/src/util.ts +++ b/src/util.ts @@ -90,7 +90,7 @@ export function mapUrlPathToBucketPath( bucketPath = url.pathname.substring(1); } - return bucketPath !== undefined ? decodeURIComponent(bucketPath) : undefined; + return bucketPath; } /**