diff --git a/copyparty/szip.py b/copyparty/szip.py index 8b421552..c5c107db 100644 --- a/copyparty/szip.py +++ b/copyparty/szip.py @@ -95,9 +95,9 @@ def gen_hdr(h_pos, fn, sz, lastmod, utf8, crc32, pre_crc): fn = sanitize_fn(fn, "/", []) bfn = fn.encode("utf-8" if utf8 else "cp437", "replace").replace(b"?", b"_") - # add ntfs and unix extrafields for utc, add z64 if requested + # add ntfs (0x24) and/or unix (0x10) extrafields for utc, add z64 if requested z64_len = len(z64v) * 8 + 4 if z64v else 0 - ret += spack(b"' + res.srvinf + ''; + try { + ebi('srv_info').innerHTML = ebi('srv_info2').innerHTML = '' + res.srvinf + ''; + } + catch (ex) { } if (this.hpush && !showfile.active()) hist_push(this.top);