more optimizations

This commit is contained in:
zefie
2025-08-11 15:26:04 -04:00
parent 9c02abd7e1
commit 6d660f387b
15 changed files with 31 additions and 31 deletions

View File

@@ -43,8 +43,8 @@ async function processLC2DownloadPage(flashrom_info, headers, numparts = null) {
if (!flashrom_info.is_last_part) {
flashrom_info.next_rompath = request_headers.request_url.replace(
escape(request_headers.query.path),
escape(flashrom_info.next_rompath.replace(service_name + ":/", ""))
encodeURIComponent(request_headers.query.path),
encodeURIComponent(flashrom_info.next_rompath.replace(service_name + ":/", ""))
);
}