commit 92a7ebee4ce83c129306d666c8e35a569c93a22f
parent 449e90f36bcece55c54c2d520a2df3c2c07edabb
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 19 Mar 2012 21:49:38 -0400
Include "+" and "=" in ignored too-long filenames
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js
@@ -1239,7 +1239,7 @@ Zotero.Sync.Storage = new function () {
// For advertising junk files, ignore a bug on Windows where
// destFile.create() works but zipReader.extract() doesn't
// 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 + "'";
Zotero.debug(msg, 2);
Zotero.debug(e, 2);