Include "+" and "=" in ignored too-long filenames
This commit is contained in:
parent
449e90f36b
commit
92a7ebee4c
1 changed files with 1 additions and 1 deletions
|
@ -1239,7 +1239,7 @@ Zotero.Sync.Storage = new function () {
|
||||||
// For advertising junk files, ignore a bug on Windows where
|
// For advertising junk files, ignore a bug on Windows where
|
||||||
// destFile.create() works but zipReader.extract() doesn't
|
// destFile.create() works but zipReader.extract() doesn't
|
||||||
// when the path length is close to 255.
|
// when the path length is close to 255.
|
||||||
if (destFile.leafName.match(/[a-zA-Z0-9]{130,}/)) {
|
if (destFile.leafName.match(/[a-zA-Z0-9+=]{130,}/)) {
|
||||||
var msg = "Ignoring error extracting '" + destFile.path + "'";
|
var msg = "Ignoring error extracting '" + destFile.path + "'";
|
||||||
Zotero.debug(msg, 2);
|
Zotero.debug(msg, 2);
|
||||||
Zotero.debug(e, 2);
|
Zotero.debug(e, 2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue