mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 14:16:21 +01:00
Escaped mysql character to prevent errors
This commit is contained in:
@@ -15,7 +15,7 @@ class IPBoardManager:
|
||||
@staticmethod
|
||||
def __santatize_username(username):
|
||||
sanatized = username.replace(" ", "_")
|
||||
sanatized = sanatized.replace("'", "_")
|
||||
sanatized = username.replace("'", "\\'")
|
||||
return sanatized.lower()
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user