Sanitize Input fields for Allowed Characters #223
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: servala/servala-portal#223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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)?
Relaxed the regex 👍