From 1de1a646657f1550c75dabb6888c76dc3a439a5b Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Thu, 12 Oct 2023 09:23:40 +0100 Subject: [PATCH] fix: don't double url encode agent transport param --- src/common/lib/transport/connectionmanager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/lib/transport/connectionmanager.ts b/src/common/lib/transport/connectionmanager.ts index d86edf13ff..20cae106ec 100644 --- a/src/common/lib/transport/connectionmanager.ts +++ b/src/common/lib/transport/connectionmanager.ts @@ -149,7 +149,7 @@ export class TransportParams { params.heartbeats = this.heartbeats; } params.v = Defaults.protocolVersion; - params.agent = encodeURIComponent(getAgentString(this.options)); + params.agent = getAgentString(this.options); if (options.transportParams !== undefined) { Utils.mixin(params, options.transportParams); }