@ -15,7 +15,7 @@ export function paramsSerializer(params: { [key: string]: any }) {
let value = '';
if (BI.isObject(paramValue)) {
value = encodeURI(JSON.stringify(paramValue));
value = encodeURIComponent(JSON.stringify(paramValue));
} else {
value = paramValue;
}
@ -45,7 +45,7 @@ export class DecisionApi implements Api {
getConnectionPool(name: string): Promise<{data?: ConnectionPoolType}> {
return requestGet(`pool/info?connectionName=${encodeURI(name)}`, {});
return requestGet(`pool/info?connectionName=${encodeURIComponent(name)}`, {});
getConnectionStatus(name: string): Promise<SocketResult> {