question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prevent special chars in user’s name

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tonioocommented, Apr 26, 2017

@schneidermayer I was talking about the sender, sorry.

1reaction
tonioocommented, Apr 26, 2017

@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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found