mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Cleanup filename before saving it to avoid mismatch filename
This commit is contained in:
parent
2fca02a3c8
commit
e8b3372d43
@ -3047,7 +3047,7 @@ app.classes.mail = AppJS.extend(
|
||||
subject = this.et2.getArrayMgr('content').getEntry('mail_displaysubject');
|
||||
}
|
||||
// Replace these now, they really cause problems later
|
||||
var filename = subject ? subject.replace(/[\f\n\t\v\/\\\?]/g,"_") : 'unknown';
|
||||
var filename = subject ? subject.replace(/[\f\n\t\v\x0b\:*#?<>%"\/\\\?]/g,"_") : 'unknown';
|
||||
ids.push(_id);
|
||||
names.push(filename+'.eml');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user