diff --git a/packages/wrappers/src/easynews.ts b/packages/wrappers/src/easynews.ts index b98f780f..dd856094 100644 --- a/packages/wrappers/src/easynews.ts +++ b/packages/wrappers/src/easynews.ts @@ -37,7 +37,7 @@ export class Easynews extends BaseWrapper { } const getEasynewsConfigString = (username: string, password: string) => { - return `%7B%22username%22%3A%22${username}%22%2C%22password%22%3A%22${password}%22%7D`; + return `%7B%22username%22%3A%22${encodeURIComponent(username)}%22%2C%22password%22%3A%22${encodeURIComponent(password)}%22%7D`; }; export async function getEasynewsStreams(