# not permitted in nickname

main
Bob Mottram 2020-10-06 17:30:37 +01:00
parent 2f24022b0d
commit 164e949125
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ def deletePost(baseDir: str, httpPrefix: str,
def validNickname(domain: str, nickname: str) -> bool: def validNickname(domain: str, nickname: str) -> bool:
forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@') forbiddenChars = ('.', ' ', '/', '?', ':', ';', '@', '#')
for c in forbiddenChars: for c in forbiddenChars:
if c in nickname: if c in nickname:
return False return False