mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Quote block sender domain
This commit is contained in:
@@ -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)) + ".*";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user