Answers for "python str and repr"

0

python str and repr

3    def is_sql_injection(request):
4        pattern = re.compile(r".*(union)|(select).*")
5        name_to_test = request.GET['name']
6        if re.search(pattern, name_to_test):
7            return True
8        return False
Posted by: Guest on February-05-2022

Python Answers by Framework

Browse Popular Code Answers by Language