mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
This commit is contained in:
@@ -808,8 +808,9 @@ def sanitize_string(input):
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
def sanitize_SQL_input(val):
|
||||
val = val.replace("'", '_')
|
||||
return val
|
||||
if val is None:
|
||||
return ''
|
||||
return val.replace("'", "_")
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user