Hi There is an issue with E-Mail addresses as a `username`. It all works fine for an alpha, numeric, minus, dot and underscore in addresses. However, there are a bunch more allowed signs[1] [2]. For example, [email protected]<mailto:[email protected]> is valid.
Does there is a specific reason for `org.apache.syncope.common.lib.SyncopeConstants#NAME_PATTERN` (syncope-common-lib.2.0.12) allowing only the defined set of chars[3]? Could it be expanded? Regards Pascal [1] https://tools.ietf.org/html/rfc822#section-6.1 [2] https://stackoverflow.com/a/2049510/1221807 [3] SyncopeConstants.java:44 public static final String NAME_PATTERN = "[\\p{L}\\p{gc=Mn}\\p{gc=Me}\\p{gc=Mc}\\p{Digit}\\p{gc=Pc} \\-@.]+";
smime.p7s
Description: S/MIME cryptographic signature
