Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

59889: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
      59662: Merged V4.2.1 (4.2.1) to V4.2-BUG-FIX (4.2.2)
         59613: Merged DEV to V4.2.1
            59345: MNT-10267: Authority Search does not work for groups with Unicode display name
             - Modify GetAuthoritiesCannedQuery to respect unicode. 
            59514: MNT-10267: Authority Search does not work for groups with Unicode display name
             - Add unit test 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-02-12 09:22:30 +00:00
parent 6c45b22b37
commit cf9cbbed5f
2 changed files with 14 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ public class GetAuthoritiesCannedQuery extends AbstractCannedQueryPermissions<Au
.replaceAll("\\>", "\\\\>")
.replaceAll("\\/", "\\\\/")
.replaceAll("\\|", "\\\\|");
return Pattern.compile(searchValue, Pattern.CASE_INSENSITIVE);
return Pattern.compile(searchValue, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE);
}
private class AuthComparator implements Comparator<AuthorityInfo>