From 164e94912595e6fa66bd6ea9c4b8235d0d0b35a3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 6 Oct 2020 17:30:37 +0100 Subject: [PATCH] # not permitted in nickname --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 8f4a02a6..a8aa5416 100644 --- a/utils.py +++ b/utils.py @@ -718,7 +718,7 @@ def deletePost(baseDir: str, httpPrefix: str, def validNickname(domain: str, nickname: str) -> bool: - forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@') + forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@', '#') for c in forbiddenChars: if c in nickname: return False