commit f85f21db32b9bde3818369a8f500102ce931f33b
parent 4648ae0f3b597e89ca7df76c28a48272f25e7067
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 11 Sep 2008 17:30:40 +0000
Merge r3371 to trunk
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 = '_';