File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -138,16 +138,3 @@ def update_modified(subject, modified=datetime.datetime.now()):
138138 query += " }"
139139 query += " }"
140140 update (query )
141-
142- # TODO: Not sure what this function is for, since strings are supposed to be escaped.
143- def verify_string_parameter (parameter ):
144- if parameter and type (parameter ) is str :
145- if "insert" in parameter .lower (): return error ("unauthorized insert in string parameter" )
146- if "delete" in parameter .lower (): return error ("unauthorized delete in string parameter" )
147- if "load" in parameter .lower (): return error ("unauthorized load in string parameter" )
148- if "clear" in parameter .lower (): return error ("unauthorized clear in string parameter" )
149- if "create" in parameter .lower (): return error ("unauthorized create in string parameter" )
150- if "drop" in parameter .lower (): return error ("unauthorized drop in string parameter" )
151- if "copy" in parameter .lower (): return error ("unauthorized copy in string parameter" )
152- if "move" in parameter .lower (): return error ("unauthorized move in string parameter" )
153- if "add" in parameter .lower (): return error ("unauthorized add in string parameter" )
You can’t perform that action at this time.
0 commit comments