Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Created Unassigned: Attachments with brackets in filenames [2796]

$
0
0
Hi,

When an email contains attachments with brackets in file names then they are not recognized at all. Specially if file names contain only opening or closing bracket, like 'filename (123'txt'. Does not happen for all such cases but at least I had one case when couple of attachments with open brackets were not shown (Attachments.Count = 0)

I think this line is causing the problem, or should be reworked.

Message.cs@584
if ((str.Split(')').Length + (i == 0 ? 1 : 0)) >= (str.Split('(').Length) || (i + 1 < data.Count && Regex.IsMatch(data[i + 1], @"^[A-Za-z-]+:")))

regards, Adam

Viewing all articles
Browse latest Browse all 1952

Trending Articles