mirror of https://github.com/M66B/FairEmail.git
Quote block sender domain
This commit is contained in:
parent
60d337ff86
commit
7bcb1c6e9b
|
@ -1032,7 +1032,7 @@ public class EntityRule {
|
|||
int at = sender.indexOf('@');
|
||||
if (at > 0) {
|
||||
regex = true;
|
||||
sender = ".*@.*" + sender.substring(at + 1) + ".*";
|
||||
sender = ".*@.*" + Pattern.quote(sender.substring(at + 1)) + ".*";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue