mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-11-08 15:08:58 +00:00
Escaped mysql character to prevent errors
This commit is contained in:
1 parent
3b8a62adaf
commit
e69744b7eb
1 file changed
+1
-1
@@ -26,7 +26,7 @@ class marketManager:
|
||||
@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