create relation with holder- and contact-data, and search for contact emailAddress + relation mark #136
@ -35,6 +35,7 @@ public interface HsOfficeContactRbacRepository extends Repository<HsOfficeContac
|
||||
}
|
||||
|
||||
static String emailRegEx(@NotNull String emailAddress) {
|
||||
// TODO.impl: find more secure solution, maybe we substitute a placeholder with the whole expression?
|
||||
if (emailAddress.contains("'") || emailAddress.endsWith("\\") ) {
|
||||
throw new ValidationException(
|
||||
"emailAddress contains invalid characters: " + emailAddress);
|
||||
|
Loading…
Reference in New Issue
Block a user