mirror of
https://github.com/Koenkk/zigbee-OTA.git
synced 2026-09-17 10:08:42 +00:00
Fixes url escaping (#24)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user