From 77fa6800b24f080c0753215d367161db9e5a3373 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 12 Mar 2012 14:57:01 +0000 Subject: [PATCH] mask # as _ while saving/exporting to vfs --- felamimail/js/jscode/viewMainScreen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/felamimail/js/jscode/viewMainScreen.js b/felamimail/js/jscode/viewMainScreen.js index 3984daf929..849b870604 100644 --- a/felamimail/js/jscode/viewMainScreen.js +++ b/felamimail/js/jscode/viewMainScreen.js @@ -249,7 +249,7 @@ function mail_save2fm(_action, _elems) url += 'menuaction=filemanager.filemanager_select.select'; // todo compose for Draft folder //url += '&icServer='+egw_appWindow('felamimail').activeServerID; url += '&mode=saveas'; - var filename = _elems[0].data.data.subject.data.replace(/[\f\n\t\v/\\:*?<>\|]/g,"_"); + var filename = _elems[0].data.data.subject.data.replace(/[\f\n\t\v/\\:*#?<>\|]/g,"_"); url += '&name='+encodeURIComponent(filename+'.eml'); url += '&mime=message'+encodeURIComponent('/')+'rfc822'; url += '&method=felamimail.uidisplay.vfsSaveMessage'