mirror of https://gitlab.com/bashrc2/epicyon
# not permitted in nickname
parent
2f24022b0d
commit
164e949125
2
utils.py
2
utils.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue