fix(easynews): encode easynews credentials

This commit is contained in:
Viren070
2025-03-15 17:24:17 +00:00
committed by GitHub
parent 71f2ad434f
commit e8cd4a49a0
+1 -1
View File
@@ -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(