fix: encode file links in getEpisodes and getMeta for proper URL handling

This commit is contained in:
himanshu8443
2025-08-15 16:13:25 +05:30
parent f0c98f9d0a
commit 7689fbce6e
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ export const getMeta = async function ({
itemTitle !== "../" &&
itemTitle !== "Parent Directory"
) {
const fullLink = link + itemLink;
const fullLink = encodeURIComponent(itemLink);
// If it's a directory (ends with /)
if (itemTitle.endsWith("/")) {