match mail addresses case insensitively for checking confirmed uids
This commit is contained in:
1 parent
28875ae2ee
commit
d389ec21e2
1 file changed
+1
-1
+1
-1
@@ -154,7 +154,7 @@ public class OpenPgpSignatureResultBuilder {
|
||||
private static boolean userIdListContainsAddress(String senderAddress, ArrayList<String> confirmedUserIds) {
|
||||
for (String rawUserId : confirmedUserIds) {
|
||||
UserId userId = OpenPgpUtils.splitUserId(rawUserId);
|
||||
if (senderAddress.equals(userId.email)) {
|
||||
if (senderAddress.equalsIgnoreCase(userId.email)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user