From 44a0cd77cbaa6ef96c643f66a6af420c0f68091a Mon Sep 17 00:00:00 2001 From: Greg Price Date: Tue, 19 Dec 2017 16:06:19 -0800 Subject: [PATCH] Revert "UserProfile: Disallow markdown character in the user profile name." This reverts commit d30fb5a341e67868b4d13cebc1041a5193db64df. --- zerver/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/models.py b/zerver/models.py index 80602b764a..bdd0f4aa28 100644 --- a/zerver/models.py +++ b/zerver/models.py @@ -531,7 +531,7 @@ class UserProfile(AbstractBaseUser, PermissionsMixin): MAX_NAME_LENGTH = 100 MIN_NAME_LENGTH = 2 API_KEY_LENGTH = 32 - NAME_INVALID_CHARS = ['*', '`', '>', '"', '@', '#'] + NAME_INVALID_CHARS = ['*', '`', '>', '"', '@'] # Our custom site-specific fields full_name = models.CharField(max_length=MAX_NAME_LENGTH) # type: Text