We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6253fa commit 1f2e728Copy full SHA for 1f2e728
1 file changed
src/clients/janus/LicenseManager/index.ts
@@ -8,9 +8,9 @@ const BASE_URL = '/api/license-manager'
8
9
const routes = {
10
accountData: () => `${BASE_URL}/account`,
11
- resourceAccess: (resourceKey: string) => `${BASE_URL}/resources/${resourceKey}/access`,
+ resourceAccess: (resourceKey: string) => `${BASE_URL}/resources/${encodeURIComponent(resourceKey)}/access`,
12
topbarData: () => `${BASE_URL}/site/pvt/newtopbar`,
13
- listBindings: (tenant: string) => `${BASE_URL}/binding/site/${tenant}`,
+ listBindings: (tenant: string) => `${BASE_URL}/binding/site/${encodeURIComponent(tenant)}`,
14
}
15
16
export class LicenseManager extends JanusClient {
0 commit comments