sanitize apostrophes in username

closes #442
This commit is contained in:
Adarnof 2016-06-10 22:04:58 -04:00 committed by GitHub
parent 077531fa5a
commit 94cd0b98d5

View File

@ -49,6 +49,7 @@ class smfManager:
@staticmethod
def santatize_username(username):
sanatized = username.replace(" ", "_")
sanatized = sanatized.replace("'", "_")
return sanatized.lower()
@staticmethod