Prevent special chars in user’s name
See original GitHub issueWhen giving a user an full name that contains a char like !
the email will get blocked by gmail and other hosts because of duplicate adress entries that aren’t matching.
Suggestion: Only allow [a-zA-Z0-9 ] for the first name and last name fields. Maybe some names contain utf chars like è
. In that case you could just block the special chars.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Prevent user from entering Special Characters in a Text input
Firstly do a Collection of all special characters (you can do this at Screen OnVisible) by using their ASCII value ranges
Read more >How do I prevent a user from using special characters in ...
In the Site Settings, tab "User Account Settings" you can find a setting "User Name Validation". There you can add a validation expression....
Read more >How would I disallow special characters in usernames?
The Blacklist characters field shown by the module on /admin/config/people/user-name-validation did the trick.
Read more >validation rule to prevent special characters and spaces
Hello, how to write a custom validation rule such that it prevents special character and spaces, it should allow only alphanumeric characters.
Read more >Prevent the use of Special Characters in a Text input
Firstly do a Collection of all special characters (you can do this at Screen OnVisible) by using their ASCII value ranges. ClearCollect( colChar ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@schneidermayer I was talking about the sender, sorry.
@schneidermayer Actually, the problem comes from the coma. It is used as a separator when you send a message to multiple recipients and modoboa does not escape it (it is a mistake).