Skip to content

Commit f3edd09

Browse files
authored
Update __init__.py
1 parent a8da08b commit f3edd09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

safescript/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ def prevent_xss_and_sqli(input_data):
3030
sanitized_html = SafeScript.sanitize_html(input_data)
3131
escaped_html = SafeScript.escape_html(sanitized_html)
3232
sanitized_sql = SafeScript.sanitize_sql(input_data)
33-
validated_input = SafeScript.validate_input(input_data)
33+
3434

3535
return {
3636
"sanitized_html": sanitized_html,
3737
"escaped_html": escaped_html,
38-
"sanitized_sql": sanitized_sql,
39-
"validated_input": validated_input
38+
"sanitized_sql": sanitized_sql
39+
4040
}
4141

4242

0 commit comments

Comments
 (0)