Don't Base64-encode filenames in ZIP files
Existing encoded filenames will still be read correctly
This commit is contained in:
parent
80e7f1c6c1
commit
dba00c7cea
1 changed files with 0 additions and 1 deletions
|
@ -1660,7 +1660,6 @@ Zotero.Sync.Storage = new function () {
|
||||||
|
|
||||||
//Zotero.debug("Adding file " + fileName);
|
//Zotero.debug("Adding file " + fileName);
|
||||||
|
|
||||||
fileName = Zotero.Utilities.Internal.Base64.encode(fileName) + "%ZB64";
|
|
||||||
zipWriter.addEntryFile(
|
zipWriter.addEntryFile(
|
||||||
fileName,
|
fileName,
|
||||||
Components.interfaces.nsIZipWriter.COMPRESSION_DEFAULT,
|
Components.interfaces.nsIZipWriter.COMPRESSION_DEFAULT,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue