diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index 82af2ae50..7bcc888e5 100644 --- a/chrome/content/zotero/xpcom/file.js +++ b/chrome/content/zotero/xpcom/file.js @@ -179,7 +179,7 @@ Zotero.File = new function(){ function getValidFileName(fileName) { // TODO: use space instead, and figure out what's doing extra // URL encode when saving attachments that trigger this - fileName = fileName.replace(/[\/\\\?%\*:|"<>\.]/g, ''); + fileName = fileName.replace(/[\/\\\?%\*:|"<>]/g, ''); // Don't allow blank filename if (!fileName) { fileName = '_';