Sanitize input #805

This commit is contained in:
jokob-sk
2024-09-26 07:21:58 +10:00
parent 2fec3b6607
commit 6233f4d646
2 changed files with 21 additions and 15 deletions

View File

@@ -806,6 +806,12 @@ def sanitize_string(input):
return input
#-------------------------------------------------------------------------------
def sanitize_SQL_input(val):
val = val.replace("'", '_')
return val
#-------------------------------------------------------------------------------
def generate_mac_links (html, deviceUrl):