KEYCLOAK-16519 Fix typo in regex

The regex has a typo that prevents correct splitting of parameter values containing multiple OIDs.
This commit is contained in:
Luca Leonardo Scorcia 2020-12-02 17:06:31 +01:00 committed by Hynek Mlnařík
parent e5232e0674
commit 8b7806dbb1

View file

@ -737,7 +737,7 @@ public class CertificateValidator {
if (extendedKeyUsage == null || extendedKeyUsage.trim().length() == 0)
return _parent;
String[] strs = extendedKeyUsage.split("[,;:]]");
String[] strs = extendedKeyUsage.split("[,;:]");
for (String str : strs) {
_extendedKeyUsage.add(str.trim());
}