Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail Regex Pattern might be relaxed #588

Open
thomaschiozzi-tndigit opened this issue May 28, 2024 · 0 comments
Open

Mail Regex Pattern might be relaxed #588

thomaschiozzi-tndigit opened this issue May 28, 2024 · 0 comments

Comments

@thomaschiozzi-tndigit
Copy link
Collaborator

The system uses an internal regex to validate email
https://github.com/scc-digitalhub/AAC/blob/5582a0f1d978b9b98cbf5acac0589910cff50c89/src/main/java/it/smartcommunitylab/aac/SystemKeys.java#L122\

The current regex is more restrictive that what suggerested by the reference RFC: https://www.rfc-editor.org/rfc/rfc5322#section-3.2.3. Even though the complete email characters space is probably not admitted in the current state (as the email is used for multiple purposes), the current regex might be relaxed to allow more special characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant