Skip to content

Restrict allowed characters in contact names to match eeID SafeValueValidator rules #2912

Description

@vohmar

Limit the allowed characters in contact names (e.g., given_names, surname) to align with the validation used in the eeID-manager's SafeValueValidator:

  • Allowed:
    • Latin letters a–zA–Z, including extended range \u00C0–\u017E (e.g., Ä, Ö, Õ, Ü, Ž, Š, etc.)
    • Numbers
    • Space
    • The following symbols: /, ', ’, -, .
  • Not allowed: Other symbols (e.g., <, >, @, #, etc.)

Implement a whitelist-based check for contact names based on these rules.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions