Bird
Raised Fist0

You have this test code to check if a user input is safe:

medium📝 Debug Q14 of Q15
Testing Fundamentals - Non-Functional Testing
You have this test code to check if a user input is safe:
def is_safe_input(user_input):
    if ''))

What is the problem with this test?
AIt does not print anything
BIt will cause a syntax error because of quotes
CIt only checks for exact '<script>' but misses other attack forms
DIt always returns True regardless of input
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the input check logic

    The function looks only for the exact string '