mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-09 08:36:23 +01:00
@@ -49,6 +49,7 @@ class smfManager:
|
|||||||
@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
|
||||||
|
|||||||
Reference in New Issue
Block a user