mirror of https://github.com/M66B/FairEmail.git
Sanitize priority
This commit is contained in:
parent
0a9748fffd
commit
43af1a68f7
|
@ -751,7 +751,8 @@ public class MessageHelper {
|
|||
int sp = header.indexOf(" ");
|
||||
if (sp >= 0)
|
||||
header = header.substring(0, sp); // "2 (High)"
|
||||
header = header.trim();
|
||||
|
||||
header = header.replaceAll("[^A-Za-z0-9\\-]", "");
|
||||
}
|
||||
|
||||
if ("high".equalsIgnoreCase(header) ||
|
||||
|
|
Loading…
Reference in New Issue