A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix: url-encode nzbget credentials (#2093)
Meier Lukas4e153b804664
diff --git a/packages/integrations/src/download-client/nzbget/nzbget-integration.ts b/packages/integrations/src/download-client/nzbget/nzbget-integration.tsindex ca2215624..f09135348 100644--- a/packages/integrations/src/download-client/nzbget/nzbget-integration.ts+++ b/packages/integrations/src/download-client/nzbget/nzbget-integration.ts@@ -96,7 +96,7 @@ export class NzbGetIntegration extends DownloadClientIntegration {): Promise<ReturnType<NzbGetClient[CallType]>> {const username = this.getSecretValue("username");const password = this.getSecretValue("password");- const url = this.url(`/${username}:${password}/jsonrpc`);+ const url = this.url(`/${encodeURIComponent(username)}:${encodeURIComponent(password)}/jsonrpc`);const body = JSON.stringify({ method, params });return await fetchWithTrustedCertificatesAsync(url, { method: "POST", body }).then(async (response) => {