Sanitize Input fields for Allowed Characters #223

Closed
opened 2025-10-16 14:22:05 +00:00 by tobru · 2 comments
Owner

Stories

As a user, I want to be sure the characters I input are allowed

Implementation Notes

We need to make sure users can only input characters that make sense. For example, for organizations, no emoji or the like makes sense.

  • Organization name: A-Za-z0-9, max 32 characters.
  • Billing address: as it makes sense (best practices)
## Stories _As a user, I want to be sure the characters I input are allowed_ ## Implementation Notes We need to make sure users can only input characters that make sense. For example, for organizations, no emoji or the like makes sense. * Organization name: A-Za-z0-9, max 32 characters. * Billing address: as it makes sense (best practices)
tobru added the
enhancement
label 2025-10-16 14:22:05 +00:00
tobru added this to the Development Planning project 2025-10-16 14:22:05 +00:00
Member

Are you sure we don't need umlauts/accented characters in organization names? E.g. r'^[A-Za-zÀ-ÿ0-9\s-']+$' would allow users to use most Latin-font diacritics.

Spaces should also be permitted (I'm taking this as implied), what about e.g. periods (for abbreviations)?

Are you sure we don't need umlauts/accented characters in organization names? E.g. r'^[A-Za-zÀ-ÿ0-9\s\-\']+$' would allow users to use most Latin-font diacritics. Spaces should also be permitted (I'm taking this as implied), what about e.g. periods (for abbreviations)?
Author
Owner

Relaxed the regex 👍

Relaxed the regex 👍
tobru closed this issue 2025-10-27 10:31:40 +00:00
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: servala/servala-portal#223
No description provided.