mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
Fixed issue with ' in username
This commit is contained in:
parent
df777a6b65
commit
c98d06215d
@ -46,6 +46,7 @@ class ForumManager:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def __santatize_username(username):
|
def __santatize_username(username):
|
||||||
sanatized = username.replace(" ", "_")
|
sanatized = username.replace(" ", "_")
|
||||||
|
sanatized = sanatized.replace("'", "")
|
||||||
return sanatized.lower()
|
return sanatized.lower()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user