fix quoteted attach filename

This commit is contained in:
2022-11-27 15:46:15 +01:00
parent d6e167b83b
commit b31762ea43
2 changed files with 4 additions and 3 deletions

View File

@ -65,7 +65,7 @@ const string Attachment::KAZ_ATTACH_NAME (".---KazAttachment---.html");
const regex Attachment::nameCharsetRegEx (".*name\\*=(.*)");
const regex Attachment::nameRegEx (".*name=\"([^\"]*)\".*");
const regex Attachment::nameRegEx (".*name=\\s*\"?(.*)\"?\\s*;?\\s*");
// boundary="----=_Part_796779_1154936629.1668080348646"
// boundary="------------040709000505010508040808"
// boundary="----------=_1668606031-941125-91"