Quote block sender domain

This commit is contained in:
M66B
2022-01-14 18:10:25 +01:00
parent 60d337ff86
commit 7bcb1c6e9b

View File

@@ -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)) + ".*";
}
}