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); }