Fixes url escaping (#24)

This commit is contained in:
Pedro Lamas
2021-02-04 08:51:46 +01:00
committed by GitHub
parent 22f832fbad
commit 8e17765e3f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ const main = async () => {
entry.url = filenameOrURL;
} else {
const destinationPosix = destination.replace(/\\/g, '/');
entry.url = `${baseURL}/${destinationPosix}`;
entry.url = `${baseURL}/${escape(destinationPosix)}`;
entry.path = destinationPosix;
}