mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-740 - Email alias is case sensitive
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19247 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -288,8 +288,8 @@ public class EmailServiceImpl implements EmailService
|
|||||||
for (int i = 0; i < resultSet.length(); i++)
|
for (int i = 0; i < resultSet.length(); i++)
|
||||||
{
|
{
|
||||||
NodeRef resRef = resultSet.getNodeRef(i);
|
NodeRef resRef = resultSet.getNodeRef(i);
|
||||||
Object alias = nodeService.getProperty(resRef, EmailServerModel.PROP_ALIAS);
|
String alias = (String)nodeService.getProperty(resRef, EmailServerModel.PROP_ALIAS);
|
||||||
if (parts[0].equals(alias))
|
if (parts[0].equalsIgnoreCase(alias))
|
||||||
{
|
{
|
||||||
return resRef;
|
return resRef;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user